summaryrefslogtreecommitdiff
path: root/src/linux/microblaze/arch_regs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/microblaze/arch_regs.c')
-rw-r--r--src/linux/microblaze/arch_regs.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/linux/microblaze/arch_regs.c b/src/linux/microblaze/arch_regs.c
new file mode 100644
index 000000000..4faf93764
--- /dev/null
+++ b/src/linux/microblaze/arch_regs.c
@@ -0,0 +1,10 @@
+/*
+ * Copyright (c) 2015-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
+static unsigned long microblaze_r3;
+#define ARCH_PC_PEEK_ADDR PT_PC
+#define ARCH_SP_PEEK_ADDR PT_GPR(1)