Implementing parts of the ARM usermode
[tpg/acess2.git] / Usermode / include / stdint.h
1 /*
2  */
3 #ifndef _STDINT_H_
4 #define _STDINT_H_
5
6 typedef unsigned char   uint8_t;
7 typedef unsigned short  uint16_t;
8 typedef unsigned int    uint32_t;
9 typedef unsigned long long      uint64_t;
10
11 typedef signed char             int8_t;
12 typedef signed short    int16_t;
13 typedef signed int              int32_t;
14 typedef signed long long        int64_t;
15
16 #if ARCHDIR_is_x86
17 typedef int32_t         intptr_t;
18 typedef uint32_t        uintptr_t;
19 #elif ARCHDIR_is_x86_64
20 typedef int64_t         intptr_t;
21 typedef uint64_t        uintptr_t;
22 #elif ARCHDIR_is_armv7
23 typedef int32_t         intptr_t;
24 typedef uint32_t        uintptr_t;
25 #else
26 # error "Unknown pointer size"
27 #endif
28
29 typedef uint64_t        off_t;
30
31 #endif

UCC git Repository :: git.ucc.asn.au