From: roel@libnfc.org Date: Mon, 8 Apr 2013 09:18:39 +0000 (+0000) Subject: moved RAMFUNC definition X-Git-Tag: v1.0.0~109 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/ce55f5a29152d7d71c7848c5d94e2eeab397aed4 moved RAMFUNC definition --- diff --git a/armsrc/util.h b/armsrc/util.h index ac141065..135468ae 100644 --- a/armsrc/util.h +++ b/armsrc/util.h @@ -13,8 +13,8 @@ #include #include +#include -#define RAMFUNC __attribute((long_call, section(".ramfunc"))) #define BYTEx(x, n) (((x) >> (n * 8)) & 0xff ) #define LED_RED 1 diff --git a/include/common.h b/include/common.h index 71787b4f..feed109c 100644 --- a/include/common.h +++ b/include/common.h @@ -25,4 +25,6 @@ typedef unsigned char byte_t; # define MAX(a, b) (((a) > (b)) ? (a) : (b)) #endif +#define RAMFUNC __attribute((long_call, section(".ramfunc"))) + #endif