Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- `int __attribute__ ((noinline)) mySystemCall (uint32 Exception, uint32 Parameter)
- {
- #ifdef PROCESSORX
- __asm__ volatile ("sc")
- #else
- __asm__ __volatile__ ("mov R0, %0; mov R1, %1; svc 0x0 " : : "r" (Exception), "r" (Parameter));
- }
Add Comment
Please, Sign In to add comment