X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Fust%2Fprocessor.h;h=35dcbb2eff33dc08c473741d368dda7b7d61711e;hb=fbc70e6fa4665372ad22ecb03c7ff7b4e2b6a019;hp=6ee44ddde599f3bd8eb5e24d90295c800168e1be;hpb=7f0357f05bf1dae6e371b04a6f94d6912f0a0303;p=ust.git diff --git a/include/ust/processor.h b/include/ust/processor.h index 6ee44dd..35dcbb2 100644 --- a/include/ust/processor.h +++ b/include/ust/processor.h @@ -476,4 +476,19 @@ static __inline__ int fls(unsigned int x) #endif +#ifdef __arm__ + +struct registers { +}; + +#define ARCH_COPY_ADDR(dst) "ldr "dst", =2b\n\t" \ + "b 55f\n\t" \ + ".ltorg\n\t" \ + "55:\n\t" + +#define _ASM_PTR ".long " +#define save_registers(a) + +#endif /* __arm__ */ + #endif /* UST_PROCESSOR_H */