diff options
author | 2023-10-10 14:33:42 +0000 | |
---|---|---|
committer | 2023-10-10 14:33:42 +0000 | |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/skiboot/include/types.h | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/skiboot/include/types.h')
-rw-r--r-- | roms/skiboot/include/types.h | 19 |
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 */ + |