Given the following case:
Code: Select all
static inline uint32_t test(void)
{
uint32_t tmp;
__asm__ __volatile__(
"mrc p15, 0, %0, c1, c0, 2\n\t"
: "=r" (tmp)
);
return tmp;
}
Moderators: misra-c, david ward
Code: Select all
static inline uint32_t test(void)
{
uint32_t tmp;
__asm__ __volatile__(
"mrc p15, 0, %0, c1, c0, 2\n\t"
: "=r" (tmp)
);
return tmp;
}