📄 arm-gcc.h
字号:
/*-------------------------------------------------------------------------------The macro `BITS64' can be defined to indicate that 64-bit integer types aresupported by the compiler.-------------------------------------------------------------------------------*/#define BITS64/*-------------------------------------------------------------------------------Each of the following `typedef's defines the most convenient type that holdsintegers of at least as many bits as specified. For example, `uint8' shouldbe the most convenient type that can hold unsigned integers of as many as8 bits. The `flag' type must be able to hold either a 0 or 1. For mostimplementations of C, `flag', `uint8', and `int8' should all be `typedef'edto the same as `int'.-------------------------------------------------------------------------------*/typedef char flag;typedef unsigned char uint8;typedef signed char int8;typedef int uint16;typedef int int16;typedef unsigned int uint32;typedef signed int int32;typedef unsigned long long int bits64;typedef signed long long int sbits64;/*-------------------------------------------------------------------------------Each of the following `typedef's defines a type that holds integersof _exactly_ the number of bits specified. For instance, for mostimplementation of C, `bits16' and `sbits16' should be `typedef'ed to`unsigned short int' and `signed short int' (or `short int'), respectively.-------------------------------------------------------------------------------*/typedef unsigned char bits8;typedef signed char sbits8;typedef unsigned short int bits16;typedef signed short int sbits16;typedef unsigned int bits32;typedef signed int sbits32;typedef unsigned long long int uint64;typedef signed long long int int64;/*-------------------------------------------------------------------------------The `LIT64' macro takes as its argument a textual integer literal and ifnecessary ``marks'' the literal as having a 64-bit integer type. Forexample, the Gnu C Compiler (`gcc') requires that 64-bit literals beappended with the letters `LL' standing for `long long', which is `gcc'sname for the 64-bit integer type. Some compilers may allow `LIT64' to bedefined as the identity macro: `#define LIT64( a ) a'.-------------------------------------------------------------------------------*/#define LIT64( a ) a##LL/*-------------------------------------------------------------------------------The macro `INLINE' can be used before functions that should be inlined. Ifa compiler does not support explicit inlining, this macro should be definedto be `static'.-------------------------------------------------------------------------------*/#define INLINE extern __inline__/* For use as a GCC soft-float library we need some special function names. */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -