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 #define PRIdPTR "d" /* intptr_t */ 21 22 #define PRIi8 "i" /* int8_t */ 23 #define PRIi16 "i" /* int16_t */ 24 #define PRIi32 "i" /* int32_t */ 25 #define PRIiPTR "i" /* intptr_t */ 26 27 #define PRIo8 "o" /* int8_t */ 28 #define PRIo16 "o" /* int16_t */ 29 #define PRIo32 "o" /* int32_t */ 30 #define PRIoPTR "o" /* intptr_t */ 31 32 #define PRIu8 "u" /* uint8_t */ 33 #define PRIu16 "u" /* uint16_t */ 34 #define PRIu32 "u" /* uint32_t */ 35 #define PRIuPTR "u" /* uintptr_t */ 36 37 #define PRIx8 "x" /* uint8_t */ 38 #define PRIx16 "x" /* uint16_t */ 39 #define PRIx32 "x" /* uint32_t */ 40 #define PRIxPTR "x" /* uintptr_t */ 41 42 #define PRIX8 "X" /* uint8_t */ 43 #define PRIX16 "X" /* uint16_t */ 44 #define PRIX32 "X" /* uint32_t */ 45 #define PRIXPTR "X" /* uintptr_t */ 46 47 #endif 48