git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8061
6f19259b-4bc3-4df7-8a09-
765794883524
We currently only have one EBC complier so there may be some Intel compiler\r
specific functions in this file.\r
\r
We currently only have one EBC complier so there may be some Intel compiler\r
specific functions in this file.\r
\r
- Copyright (c) 2006 - 2008, Intel Corporation<BR> \r
+ Copyright (c) 2006 - 2009, Intel Corporation<BR> \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
/// use the correct C calling convention. All protocol member functions and\r
/// EFI intrinsics are required to modify their member functions with EFIAPI.\r
///\r
/// use the correct C calling convention. All protocol member functions and\r
/// EFI intrinsics are required to modify their member functions with EFIAPI.\r
///\r
+#ifdef EFIAPI\r
+ ///\r
+ /// If EFIAPI is already defined, then we use that definition.\r
+ ///\r
+#else\r
\r
///\r
/// The Microsoft* C compiler can removed references to unreferenced data items\r
\r
///\r
/// The Microsoft* C compiler can removed references to unreferenced data items\r
/** @file\r
Processor or Compiler specific defines and types for Ia32 architecture.\r
\r
/** @file\r
Processor or Compiler specific defines and types for Ia32 architecture.\r
\r
- Copyright (c) 2006 - 2008, Intel Corporation<BR> \r
+ Copyright (c) 2006 - 2009, Intel Corporation<BR> \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
// use the correct C calling convention. All protocol member functions and\r
// EFI intrinsics are required to modify their member functions with EFIAPI.\r
//\r
// use the correct C calling convention. All protocol member functions and\r
// EFI intrinsics are required to modify their member functions with EFIAPI.\r
//\r
-#if defined(_MSC_EXTENSIONS)\r
+#ifdef EFIAPI\r
+ ///\r
+ /// If EFIAPI is already defined, then we use that definition.\r
+ ///\r
+#elif defined(_MSC_EXTENSIONS)\r
///\r
/// Microsoft* compiler specific method for EFIAPI calling convension\r
/// \r
///\r
/// Microsoft* compiler specific method for EFIAPI calling convension\r
/// \r
/** @file\r
Processor or Compiler specific defines and types for Intel Itanium(TM).\r
\r
/** @file\r
Processor or Compiler specific defines and types for Intel Itanium(TM).\r
\r
- Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
+ Copyright (c) 2006 - 2009, Intel Corporation<BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
// use the correct C calling convention. All protocol member functions and\r
// EFI intrinsics are required to modify their member functions with EFIAPI.\r
//\r
// use the correct C calling convention. All protocol member functions and\r
// EFI intrinsics are required to modify their member functions with EFIAPI.\r
//\r
-#if defined(_MSC_EXTENSIONS)\r
+#ifdef EFIAPI\r
+ ///\r
+ /// If EFIAPI is already defined, then we use that definition.\r
+ ///\r
+#elif defined(_MSC_EXTENSIONS)\r
///\r
/// Microsoft* compiler specific method for EFIAPI calling convension\r
/// \r
///\r
/// Microsoft* compiler specific method for EFIAPI calling convension\r
/// \r
/** @file\r
Processor or Compiler specific defines and types x64 (Intel(r) EM64T, AMD64).\r
\r
/** @file\r
Processor or Compiler specific defines and types x64 (Intel(r) EM64T, AMD64).\r
\r
- Copyright (c) 2006 - 2008, Intel Corporation<BR> \r
+ Copyright (c) 2006 - 2009, Intel Corporation<BR> \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
// use the correct C calling convention. All protocol member functions and\r
// EFI intrinsics are required to modify their member functions with EFIAPI.\r
//\r
// use the correct C calling convention. All protocol member functions and\r
// EFI intrinsics are required to modify their member functions with EFIAPI.\r
//\r
-#if defined(_MSC_EXTENSIONS)\r
+#ifdef EFIAPI\r
+ ///\r
+ /// If EFIAPI is already defined, then we use that definition.\r
+ ///\r
+#elif defined(_MSC_EXTENSIONS)\r
///\r
/// Microsoft* compiler specific method for EFIAPI calling convension\r
/// \r
///\r
/// Microsoft* compiler specific method for EFIAPI calling convension\r
/// \r