Guest User

Untitled

a guest
Jun 22nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #define L_CALL(func) ({ \
  2. typeof(func) * _ptr = &func; \
  3. asm volatile ( \
  4. "ldr %0, =" #func \
  5. : "=r" (_ptr) \
  6. ); \
  7. _ptr; \
  8. })
Add Comment
Please, Sign In to add comment