X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/759c16b31f8dcec37458dd6a5973ce0cfce58015..0c86cb0127054e8109d0f0ca4d7e2a890d1962e8:/include/common.h?ds=inline diff --git a/include/common.h b/include/common.h index 71787b4f..998db64d 100644 --- a/include/common.h +++ b/include/common.h @@ -24,5 +24,11 @@ typedef unsigned char byte_t; #ifndef MAX # define MAX(a, b) (((a) > (b)) ? (a) : (b)) #endif +#ifndef ABS +# define ABS(a) ( ((a)<0) ? -(a) : (a) ) +#endif + + +#define RAMFUNC __attribute((long_call, section(".ramfunc"))) #endif