]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - include/common.h
1 //-----------------------------------------------------------------------------
2 // Hagen Fritsch - June 2010
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
8 //-----------------------------------------------------------------------------
9 // Interlib Definitions
10 //-----------------------------------------------------------------------------
15 typedef unsigned char byte_t
;
18 # define MIN(a, b) (((a) < (b)) ? (a) : (b))
21 # define MAX(a, b) (((a) > (b)) ? (a) : (b))
24 # define ABS(a) (((a) < 0) ? -(a) : (a))
27 #define RAMFUNC __attribute((long_call, section(".ramfunc")))