xref: /rk3399_ARM-atf/include/lib/libc/aarch32/stdint_.h (revision 72e8f2456af54b75a0a1d92aadfce0b4bcde6ba1)
14ce3e99aSScott Branden /*
24ce3e99aSScott Branden  * Copyright 2020 Broadcom
34ce3e99aSScott Branden  *
44ce3e99aSScott Branden  * SPDX-License-Identifier: BSD-3-Clause
54ce3e99aSScott Branden  */
64ce3e99aSScott Branden /*
7*4c700c15SGovindraj Raja  * Portions copyright (c) 2020, Arm Limited and Contributors.
84ce3e99aSScott Branden  * All rights reserved.
94ce3e99aSScott Branden  */
104ce3e99aSScott Branden 
114ce3e99aSScott Branden #ifndef STDINT__H
124ce3e99aSScott Branden #define STDINT__H
134ce3e99aSScott Branden 
144ce3e99aSScott Branden #define INT64_MAX  LLONG_MAX
154ce3e99aSScott Branden #define INT64_MIN  LLONG_MIN
164ce3e99aSScott Branden #define UINT64_MAX ULLONG_MAX
174ce3e99aSScott Branden 
184ce3e99aSScott Branden #define INT64_C(x) x ## LL
194ce3e99aSScott Branden #define UINT64_C(x) x ## ULL
204ce3e99aSScott Branden 
214ce3e99aSScott Branden typedef long long int64_t;
224ce3e99aSScott Branden typedef unsigned long long uint64_t;
234ce3e99aSScott Branden typedef long long int64_least_t;
244ce3e99aSScott Branden typedef unsigned long long uint64_least_t;
254ce3e99aSScott Branden typedef long long int64_fast_t;
264ce3e99aSScott Branden typedef unsigned long long uint64_fast_t;
274ce3e99aSScott Branden 
284ce3e99aSScott Branden #endif
29