aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/include/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/skiboot/include/types.h')
-rw-r--r--roms/skiboot/include/types.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/roms/skiboot/include/types.h b/roms/skiboot/include/types.h
new file mode 100644
index 000000000..498ee66c2
--- /dev/null
+++ b/roms/skiboot/include/types.h
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+/* Copyright 2013-2015 IBM Corp. */
+
+#ifndef __TYPES_H
+#define __TYPES_H
+#include <ccan/short_types/short_types.h>
+#include <ccan/endian/endian.h>
+
+/* These are currently just for clarity, but we could apply sparse. */
+typedef beint16_t __be16;
+typedef beint32_t __be32;
+typedef beint64_t __be64;
+
+typedef leint16_t __le16;
+typedef leint32_t __le32;
+typedef leint64_t __le64;
+
+#endif /* __TYPES_H */
+