1  /**********************************************************************
2  * Copyright (C) 2014-2015 Cadence Design Systems, Inc.- http://www.cadence.com
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  ***********************************************************************/
17 
18 #include <stdint.h>
19 
20 /* NOTE - The driver uses fixed width types as defined in C99
21 
22     If not provided by your environment, these are typical definitions for the
23  *        fixed width types used in the driver, and should be provided here.
24  * typedef signed char            int8_t
25  * typedef unsigned char          uint8_t
26  * typedef signed short           int16_t
27  * typedef unsigned short         uint16_t
28  * typedef signed long int        int32_t
29  * typedef unsigned long int      uint32_t
30  * typedef signed long long int   int64_t
31  * typedef unsigned long long int uint64_t
32  * typedef int32_t                intptr_t
33  * typedef uint32_t               uintptr_t
34 
35  * These definitions are for a 32bit system with 32bit int, and should be adjusted
36  * for your actual target system and toolchain.
37 
38  Under Linux, these will be available in:
39  #include <linux/types.h>
40 
41 */
42