| /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ |
| /* |
| * Copyright (c) 2019 Amlogic, Inc. All rights reserved. |
| */ |
| |
| #ifndef __TYPES_H |
| #define __TYPES_H |
| |
| #ifndef _INT8_T_DECLARED |
| typedef char int8_t; |
| #define _INT8_T_DECLARED |
| #endif |
| |
| #ifndef _INT16_T_DECLARED |
| typedef short int16_t; |
| #define _INT16_T_DECLARED |
| #endif |
| |
| #ifndef _INT32_T_DECLARED |
| typedef int int32_t; |
| #define _INT32_T_DECLARED |
| #endif |
| |
| #ifndef _INT64_T_DECLARED |
| typedef long int64_t; |
| #define _INT64_T_DECLARED |
| #endif |
| |
| #ifndef _UINT8_T_DECLARED |
| typedef unsigned char uint8_t; |
| #define _UINT8_T_DECLARED |
| #endif |
| |
| #ifndef _UINT16_T_DECLARED |
| typedef unsigned short uint16_t; |
| #define _UINT16_T_DECLARED |
| #endif |
| |
| #ifndef _UINT32_T_DECLARED |
| typedef unsigned int uint32_t; |
| #define _UINT32_T_DECLARED |
| #endif |
| |
| #ifndef _UINT64_T_DECLARED |
| typedef unsigned long uint64_t; |
| #define _UINT64_T_DECLARED |
| #endif |
| |
| #ifndef _INT8PTR_T_DECLARED |
| typedef char * int8ptr_t; |
| #define _INT8PTR_T_DECLARED |
| #endif |
| |
| #ifndef _INT16PTR_T_DECLARED |
| typedef short * int16ptr_t; |
| #define _INT16PTR_T_DECLARED |
| #endif |
| |
| #ifndef _INT32PTR_T_DECLARED |
| typedef int * int32ptr_t; |
| #define _INT32PTR_T_DECLARED |
| #endif |
| |
| #ifndef _INT64PTR_T_DECLARED |
| typedef long * int64ptr_t; |
| #define _INT64PTR_T_DECLARED |
| #endif |
| |
| #ifndef _UINT8PTR_T_DECLARED |
| typedef unsigned char * uint8ptr_t; |
| #define _UINT8PTR_T_DECLARED |
| #endif |
| |
| #ifndef _UINT16PTR_T_DECLARED |
| typedef unsigned short * uint16ptr_t; |
| #define _UINT16PTR_T_DECLARED |
| #endif |
| |
| #ifndef _UINT32PTR_T_DECLARED |
| typedef unsigned int * uint32ptr_t; |
| #define _UINT32PTR_T_DECLARED |
| #endif |
| |
| #ifndef _UINT64PTR_T_DECLARED |
| typedef unsigned long * uint64ptr_t; |
| #define _UINT64PTR_T_DECLARED |
| #endif |
| |
| #endif |