| /* |
| * Copyright (C) 2017 Amlogic, Inc. All rights reserved. |
| * * |
| This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License as published by |
| * the Free Software Foundation; either version 2 of the License, or |
| * (at your option) any later version. |
| * * |
| This program is distributed in the hope that it will be useful, but WITHOUT |
| * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| * more details. |
| * * |
| You should have received a copy of the GNU General Public License along |
| * with this program; if not, write to the Free Software Foundation, Inc., |
| * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| * * |
| Description: |
| */ |
| |
| #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 |