blob: 344b71c524a38cdad0808ced4197f5bd13effb14 [file] [log] [blame]
Scott Brandene5dcf982020-08-25 13:49:32 -07001/*
2 * Copyright 2020 Broadcom
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6/*
Govindraj Rajaeee28e72023-08-01 15:52:40 -05007 * Portions copyright (c) 2020, Arm Limited and Contributors.
Scott Brandene5dcf982020-08-25 13:49:32 -07008 * 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 */
Scott Brandene5dcf982020-08-25 13:49:32 -070020
21#define PRIi8 "i" /* int8_t */
22#define PRIi16 "i" /* int16_t */
23#define PRIi32 "i" /* int32_t */
Scott Brandene5dcf982020-08-25 13:49:32 -070024
25#define PRIo8 "o" /* int8_t */
26#define PRIo16 "o" /* int16_t */
27#define PRIo32 "o" /* int32_t */
Scott Brandene5dcf982020-08-25 13:49:32 -070028
29#define PRIu8 "u" /* uint8_t */
30#define PRIu16 "u" /* uint16_t */
31#define PRIu32 "u" /* uint32_t */
Scott Brandene5dcf982020-08-25 13:49:32 -070032
33#define PRIx8 "x" /* uint8_t */
34#define PRIx16 "x" /* uint16_t */
35#define PRIx32 "x" /* uint32_t */
Scott Brandene5dcf982020-08-25 13:49:32 -070036
37#define PRIX8 "X" /* uint8_t */
38#define PRIX16 "X" /* uint16_t */
39#define PRIX32 "X" /* uint32_t */
Scott Brandene5dcf982020-08-25 13:49:32 -070040
41#endif