mirror of https://github.com/acidanthera/audk.git
Update MdePkg and EdkCompatibilityPkg INT8 definition to be typedef signed char to follow UEFI spec.
Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Michael D. Kinney <michael.d.kinney@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13312 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
99c1725ee6
commit
d22ebbe39f
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Processor or Compiler specific defines and types for ARM.
|
Processor or Compiler specific defines and types for ARM.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||||
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
typedef unsigned char BOOLEAN;
|
typedef unsigned char BOOLEAN;
|
||||||
typedef unsigned char UINT8;
|
typedef unsigned char UINT8;
|
||||||
typedef char CHAR8;
|
typedef char CHAR8;
|
||||||
typedef char INT8;
|
typedef signed char INT8;
|
||||||
#else
|
#else
|
||||||
//
|
//
|
||||||
// Assume standard ARM alignment.
|
// Assume standard ARM alignment.
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
typedef unsigned char BOOLEAN;
|
typedef unsigned char BOOLEAN;
|
||||||
typedef unsigned char UINT8;
|
typedef unsigned char UINT8;
|
||||||
typedef char CHAR8;
|
typedef char CHAR8;
|
||||||
typedef char INT8;
|
typedef signed char INT8;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
We currently only have one EBC compiler so there may be some Intel compiler
|
We currently only have one EBC compiler so there may be some Intel compiler
|
||||||
specific functions in this file.
|
specific functions in this file.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials are licensed and made available under
|
This program and the accompanying materials are licensed and made available under
|
||||||
the terms and conditions of the BSD License that accompanies this distribution.
|
the terms and conditions of the BSD License that accompanies this distribution.
|
||||||
The full text of the license may be found at
|
The full text of the license may be found at
|
||||||
|
@ -30,7 +30,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
///
|
///
|
||||||
/// 1-byte signed value
|
/// 1-byte signed value
|
||||||
///
|
///
|
||||||
typedef char INT8;
|
typedef signed char INT8;
|
||||||
///
|
///
|
||||||
/// Logical Boolean. 1-byte value containing 0 for FALSE or a 1 for TRUE. Other
|
/// Logical Boolean. 1-byte value containing 0 for FALSE or a 1 for TRUE. Other
|
||||||
/// values are undefined.
|
/// values are undefined.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Processor or Compiler specific defines and types for IA-32 architecture.
|
Processor or Compiler specific defines and types for IA-32 architecture.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials are licensed and made available under
|
This program and the accompanying materials are licensed and made available under
|
||||||
the terms and conditions of the BSD License that accompanies this distribution.
|
the terms and conditions of the BSD License that accompanies this distribution.
|
||||||
The full text of the license may be found at
|
The full text of the license may be found at
|
||||||
|
@ -147,7 +147,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
///
|
///
|
||||||
/// 1-byte signed value.
|
/// 1-byte signed value.
|
||||||
///
|
///
|
||||||
typedef char INT8;
|
typedef signed char INT8;
|
||||||
#else
|
#else
|
||||||
///
|
///
|
||||||
/// 8-byte unsigned value.
|
/// 8-byte unsigned value.
|
||||||
|
@ -194,7 +194,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
///
|
///
|
||||||
/// 1-byte signed value
|
/// 1-byte signed value
|
||||||
///
|
///
|
||||||
typedef char INT8;
|
typedef signed char INT8;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Processor or Compiler specific defines and types for Intel Itanium(TM) processors.
|
Processor or Compiler specific defines and types for Intel Itanium(TM) processors.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials are licensed and made available
|
This program and the accompanying materials are licensed and made available
|
||||||
under the terms and conditions of the BSD License which accompanies this
|
under the terms and conditions of the BSD License which accompanies this
|
||||||
distribution. The full text of the license may be found at
|
distribution. The full text of the license may be found at
|
||||||
|
@ -156,7 +156,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
///
|
///
|
||||||
/// 1-byte signed value.
|
/// 1-byte signed value.
|
||||||
///
|
///
|
||||||
typedef char INT8;
|
typedef signed char INT8;
|
||||||
#else
|
#else
|
||||||
///
|
///
|
||||||
/// 8-byte unsigned value.
|
/// 8-byte unsigned value.
|
||||||
|
@ -203,7 +203,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
///
|
///
|
||||||
/// 1-byte signed value.
|
/// 1-byte signed value.
|
||||||
///
|
///
|
||||||
typedef char INT8;
|
typedef signed char INT8;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Processor or Compiler specific defines and types x64 (Intel 64, AMD64).
|
Processor or Compiler specific defines and types x64 (Intel 64, AMD64).
|
||||||
|
|
||||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -147,7 +147,7 @@
|
||||||
///
|
///
|
||||||
/// 1-byte signed value
|
/// 1-byte signed value
|
||||||
///
|
///
|
||||||
typedef char INT8;
|
typedef signed char INT8;
|
||||||
#else
|
#else
|
||||||
///
|
///
|
||||||
/// 8-byte unsigned value
|
/// 8-byte unsigned value
|
||||||
|
@ -194,7 +194,7 @@
|
||||||
///
|
///
|
||||||
/// 1-byte signed value
|
/// 1-byte signed value
|
||||||
///
|
///
|
||||||
typedef char INT8;
|
typedef signed char INT8;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue