[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 01/10] target-tricore: Add ISA v1.3.1 cpu and fix tc
From: |
Bastian Koppelmann |
Subject: |
[Qemu-devel] [PATCH 01/10] target-tricore: Add ISA v1.3.1 cpu and fix tc1796 to using v1.3 |
Date: |
Wed, 13 May 2015 11:45:02 +0200 |
Signed-off-by: Bastian Koppelmann <address@hidden>
---
target-tricore/cpu.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/target-tricore/cpu.c b/target-tricore/cpu.c
index 2ba0cf4..9fe0b97 100644
--- a/target-tricore/cpu.c
+++ b/target-tricore/cpu.c
@@ -118,6 +118,13 @@ static void tc1796_initfn(Object *obj)
{
TriCoreCPU *cpu = TRICORE_CPU(obj);
+ set_feature(&cpu->env, TRICORE_FEATURE_13);
+}
+
+static void tc1797_initfn(Object *obj)
+{
+ TriCoreCPU *cpu = TRICORE_CPU(obj);
+
set_feature(&cpu->env, TRICORE_FEATURE_131);
}
@@ -136,6 +143,7 @@ typedef struct TriCoreCPUInfo {
static const TriCoreCPUInfo tricore_cpus[] = {
{ .name = "tc1796", .initfn = tc1796_initfn },
+ { .name = "tc1797", .initfn = tc1797_initfn },
{ .name = "aurix", .initfn = aurix_initfn },
{ .name = NULL }
};
--
2.4.0
- [Qemu-devel] [PATCH 08/10] target-tricore: add FCALL instructions of the v1.6 ISA, (continued)
- [Qemu-devel] [PATCH 08/10] target-tricore: add FCALL instructions of the v1.6 ISA, Bastian Koppelmann, 2015/05/13
- [Qemu-devel] [PATCH 02/10] target-tricore: introduce ISA v1.6.1 feature, Bastian Koppelmann, 2015/05/13
- [Qemu-devel] [PATCH 09/10] target-tricore: add FRET instructions of the v1.6 ISA, Bastian Koppelmann, 2015/05/13
- [Qemu-devel] [PATCH 07/10] target-tricore: add SYS_RESTORE instruction of the v1.6 ISA, Bastian Koppelmann, 2015/05/13
- [Qemu-devel] [PATCH 06/10] target-tricore: add RR_CRC32 instruction of the v1.6.1 ISA, Bastian Koppelmann, 2015/05/13
- [Qemu-devel] [PATCH 01/10] target-tricore: Add ISA v1.3.1 cpu and fix tc1796 to using v1.3,
Bastian Koppelmann <=
- [Qemu-devel] [PATCH 05/10] target-tricore: add SWAPMSK instructions of the v1.6.1 ISA, Bastian Koppelmann, 2015/05/13
- Re: [Qemu-devel] [PATCH 00/10] TriCore v1.6.1 ISA and missing v1.6 instructions, Bastian Koppelmann, 2015/05/21