]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - tools/elftosb/common/int_size.h
Added source of Freescale's 'elftosb' tool
[karo-tx-uboot.git] / tools / elftosb / common / int_size.h
diff --git a/tools/elftosb/common/int_size.h b/tools/elftosb/common/int_size.h
new file mode 100644 (file)
index 0000000..cf66d68
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * File:       int_size.h
+ *
+ * Copyright (c) Freescale Semiconductor, Inc. All rights reserved.
+ * See included license file for license details.
+ */
+#if !defined(_int_size_h_)
+#define _int_size_h_
+
+namespace elftosb
+{
+
+//! Supported sizes of integers.
+typedef enum {
+       kWordSize,              //!< 32-bit word.
+       kHalfWordSize,  //!< 16-bit half word.
+       kByteSize               //!< 8-bit byte.
+} int_size_t;
+
+}; // namespace elftosb
+
+#endif // _int_size_h_