]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/util.h
Removed lua binary which shouldn't be in version control
[proxmark3-svn] / armsrc / util.h
index 144032324d62e74b77bba24bc2a3669045328208..135468aeee7e4b3954fa50d9c146221c2ed6e6ac 100644 (file)
@@ -13,8 +13,7 @@
 
 #include <stddef.h>
 #include <stdint.h>
-
-#define RAMFUNC __attribute((long_call, section(".ramfunc")))
+#include <common.h>
 
 #define BYTEx(x, n) (((x) >> (n * 8)) & 0xff )
 
@@ -28,6 +27,8 @@
 #define BUTTON_DOUBLE_CLICK -2
 #define BUTTON_ERROR -99
 
+size_t nbytes(size_t nbits);
+uint32_t SwapBits(uint32_t value, int nrbits);
 void num_to_bytes(uint64_t n, size_t len, uint8_t* dest);
 uint64_t bytes_to_num(uint8_t* src, size_t len);
 
Impressum, Datenschutz