mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
fix: RAMFUNC
This commit is contained in:
parent
5c43caa6b1
commit
a9d89c7d06
1 changed files with 4 additions and 1 deletions
|
@ -70,7 +70,10 @@ extern int DBGLEVEL;
|
||||||
#ifndef ABS
|
#ifndef ABS
|
||||||
# define ABS(a) ( ((a)<0) ? -(a) : (a) )
|
# define ABS(a) ( ((a)<0) ? -(a) : (a) )
|
||||||
#endif
|
#endif
|
||||||
#define RAMFUNC __attribute((long_call, section(".ramfunc")))
|
|
||||||
|
|
||||||
|
//#define RAMFUNC __attribute((long_call, section(".ramfunc")))
|
||||||
|
#define RAMFUNC __attribute((long_call, section(".ramfunc"))) __attribute__((target("arm")))
|
||||||
|
|
||||||
#ifndef ROTR
|
#ifndef ROTR
|
||||||
# define ROTR(x,n) (((uintmax_t)(x) >> (n)) | ((uintmax_t)(x) << ((sizeof(x) * 8) - (n))))
|
# define ROTR(x,n) (((uintmax_t)(x) >> (n)) | ((uintmax_t)(x) << ((sizeof(x) * 8) - (n))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue