projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Comms refactor (prerequisite of libproxmark work) (#371)"
[proxmark3-svn]
/
include
/
common.h
diff --git
a/include/common.h
b/include/common.h
index 71787b4f4e7a1e164f1cdd959683805a0b7bdc98..998db64dccc7820493dbb3df1042562e7b613ef1 100644
(file)
--- 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
Impressum
,
Datenschutz