summary refs log tree commit diff stats
path: root/target/sparc/translate.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/sparc/translate.h')
-rw-r--r--target/sparc/translate.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/sparc/translate.h b/target/sparc/translate.h
new file mode 100644
index 0000000000..a46fa4f124
--- /dev/null
+++ b/target/sparc/translate.h
@@ -0,0 +1,17 @@
+/*
+ * QEMU translation definitions for SPARC
+ *
+ * Copyright (c) 2024 Linaro, Ltd
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+#ifndef SPARC_TRANSLATION_H
+#define SPARC_TRANSLATION_H
+
+/* Dynamic PC, must exit to main loop. */
+#define DYNAMIC_PC         1
+/* Dynamic PC, one of two values according to jump_pc[T2]. */
+#define JUMP_PC            2
+/* Dynamic PC, may lookup next TB. */
+#define DYNAMIC_PC_LOOKUP  3
+
+#endif