Scott Branden | e5dcf98 | 2020-08-25 13:49:32 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2020 Broadcom |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | /* |
Govindraj Raja | eee28e7 | 2023-08-01 15:52:40 -0500 | [diff] [blame] | 7 | * Portions copyright (c) 2020, Arm Limited and Contributors. |
Scott Branden | e5dcf98 | 2020-08-25 13:49:32 -0700 | [diff] [blame] | 8 | * All rights reserved. |
| 9 | */ |
| 10 | |
| 11 | #ifndef INTTYPES__H |
| 12 | #define INTTYPES__H |
| 13 | |
| 14 | #define PRId64 "lld" /* int64_t */ |
| 15 | #define PRIi64 "lli" /* int64_t */ |
| 16 | #define PRIo64 "llo" /* int64_t */ |
| 17 | #define PRIu64 "llu" /* uint64_t */ |
| 18 | #define PRIx64 "llx" /* uint64_t */ |
| 19 | #define PRIX64 "llX" /* uint64_t */ |
| 20 | |
K | 2cf1306 | 2022-07-27 17:30:49 +0500 | [diff] [blame] | 21 | #define PRIdPTR "d" /* intptr_t */ |
| 22 | #define PRIiPTR "i" /* intptr_t */ |
| 23 | #define PRIoPTR "o" /* intptr_t */ |
| 24 | #define PRIuPTR "u" /* uintptr_t */ |
| 25 | #define PRIxPTR "x" /* uintptr_t */ |
| 26 | #define PRIXPTR "X" /* uintptr_t */ |
| 27 | |
Scott Branden | e5dcf98 | 2020-08-25 13:49:32 -0700 | [diff] [blame] | 28 | #endif /* INTTYPES__H */ |