projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://github.com/iceman1001/proxmark3
[proxmark3-svn]
/
include
/
common.h
diff --git
a/include/common.h
b/include/common.h
index 13daa86eb94b35085bb622ce757c5e292255cc61..feed109c2dfe3faa216edb89fd0852100b542896 100644
(file)
--- a/
include/common.h
+++ b/
include/common.h
@@
-18,4
+18,13
@@
#include <at91sam7s512.h>
typedef unsigned char byte_t;
#include <at91sam7s512.h>
typedef unsigned char byte_t;
+#ifndef MIN
+# define MIN(a, b) (((a) < (b)) ? (a) : (b))
+#endif
+#ifndef MAX
+# define MAX(a, b) (((a) > (b)) ? (a) : (b))
+#endif
+
+#define RAMFUNC __attribute((long_call, section(".ramfunc")))
+
#endif
#endif
Impressum
,
Datenschutz