summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-12-18 14:25:56 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-12-19 00:20:33 +0100
commitea9a1f60177bad3e8c63f030f55dec87d0dd245c (patch)
tree41c4e040ceb0e67ec79b07678e35120ee649ecc8
parent5056b6e612569b202c96a8a54da90879f118b7d5 (diff)
Get stdint.h in sync between ARMv7 and x86
- add s8, s16, s32 types to x86 Change-Id: Ib9c260fc4f72029492f2d935dbb822cc3ff83cc4 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/2050 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
-rw-r--r--src/arch/x86/include/stdint.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/x86/include/stdint.h b/src/arch/x86/include/stdint.h
index b393cc10e0..07cae47ff9 100644
--- a/src/arch/x86/include/stdint.h
+++ b/src/arch/x86/include/stdint.h
@@ -71,6 +71,10 @@ typedef uint32_t u32;
#if __HAVE_LONG_LONG__
typedef uint64_t u64;
#endif
+typedef int8_t s8;
+typedef int16_t s16;
+typedef int32_t s32;
+
#undef __HAVE_LONG_LONG__