|
@@ -75,6 +75,9 @@ struct exynos5_sysreg {
|
|
/* Set program counter with the given value */
|
|
/* Set program counter with the given value */
|
|
#define set_pc(x) __asm__ __volatile__ ("mov pc, %0\n\t" : : "r"(x))
|
|
#define set_pc(x) __asm__ __volatile__ ("mov pc, %0\n\t" : : "r"(x))
|
|
|
|
|
|
|
|
+/* Branch to the given location */
|
|
|
|
+#define branch_bx(x) __asm__ __volatile__ ("bx %0\n\t" : : "r"(x))
|
|
|
|
+
|
|
/* Read Main Id register */
|
|
/* Read Main Id register */
|
|
#define mrc_midr(x) __asm__ __volatile__ \
|
|
#define mrc_midr(x) __asm__ __volatile__ \
|
|
("mrc p15, 0, %0, c0, c0, 0\n\t" : "=r"(x) : )
|
|
("mrc p15, 0, %0, c0, c0, 0\n\t" : "=r"(x) : )
|