1 /* 2 * Copyright 2020 Broadcom 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 /* 7 * Portions copyright (c) 2020, Arm Limited and Contributors. 8 * All rights reserved. 9 */ 10 11 #ifndef INTTYPES_H 12 #define INTTYPES_H 13 14 #include <inttypes_.h> 15 #include <stdint.h> 16 17 #define PRId8 "d" /* int8_t */ 18 #define PRId16 "d" /* int16_t */ 19 #define PRId32 "d" /* int32_t */ 20 21 #define PRIi8 "i" /* int8_t */ 22 #define PRIi16 "i" /* int16_t */ 23 #define PRIi32 "i" /* int32_t */ 24 25 #define PRIo8 "o" /* int8_t */ 26 #define PRIo16 "o" /* int16_t */ 27 #define PRIo32 "o" /* int32_t */ 28 29 #define PRIu8 "u" /* uint8_t */ 30 #define PRIu16 "u" /* uint16_t */ 31 #define PRIu32 "u" /* uint32_t */ 32 33 #define PRIx8 "x" /* uint8_t */ 34 #define PRIx16 "x" /* uint16_t */ 35 #define PRIx32 "x" /* uint32_t */ 36 37 #define PRIX8 "X" /* uint8_t */ 38 #define PRIX16 "X" /* uint16_t */ 39 #define PRIX32 "X" /* uint32_t */ 40 41 #endif 42