[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH v3 22/25] tilegx: cpu: add CPU_RESOLVING_TYPE macro
From: |
Igor Mammedov |
Subject: |
[Qemu-ppc] [PATCH v3 22/25] tilegx: cpu: add CPU_RESOLVING_TYPE macro |
Date: |
Tue, 23 Jan 2018 09:08:21 +0100 |
it will be used for providing to cpu name resolving class for
parsing cpu model for system and user emulation code.
Along with change add target to null-machine test, so
that when switch to CPU_RESOLVING_TYPE happens,
test would ensure that null-mchine usecase still works.
Signed-off-by: Igor Mammedov <address@hidden>
---
CC: Eduardo Habkost <address@hidden>
---
target/tilegx/cpu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/tilegx/cpu.h b/target/tilegx/cpu.h
index 71cea04..a73215e 100644
--- a/target/tilegx/cpu.h
+++ b/target/tilegx/cpu.h
@@ -165,6 +165,7 @@ void tilegx_tcg_init(void);
int cpu_tilegx_signal_handler(int host_signum, void *pinfo, void *puc);
#define cpu_init(cpu_model) cpu_generic_init(TYPE_TILEGX_CPU, cpu_model)
+#define CPU_RESOLVING_TYPE TYPE_TILEGX_CPU
#define cpu_signal_handler cpu_tilegx_signal_handler
--
2.7.4
- Re: [Qemu-ppc] [PATCH v3 14/25] ppc: cpu: add CPU_RESOLVING_TYPE macro, (continued)
- [Qemu-ppc] [PATCH v3 15/25] s390x: cpu: add CPU_RESOLVING_TYPE macro, Igor Mammedov, 2018/01/23
- [Qemu-ppc] [PATCH v3 16/25] sh4: cpu: add CPU_RESOLVING_TYPE macro, Igor Mammedov, 2018/01/23
- [Qemu-ppc] [PATCH v3 17/25] sparc: cpu: add CPU_RESOLVING_TYPE macro, Igor Mammedov, 2018/01/23
- [Qemu-ppc] [PATCH v3 13/25] openrisc: cpu: add CPU_RESOLVING_TYPE macro, Igor Mammedov, 2018/01/23
- [Qemu-ppc] [PATCH v3 18/25] tricore: cpu: add CPU_RESOLVING_TYPE macro, Igor Mammedov, 2018/01/23
- [Qemu-ppc] [PATCH v3 19/25] unicore32: cpu: add CPU_RESOLVING_TYPE macro, Igor Mammedov, 2018/01/23
- [Qemu-ppc] [PATCH v3 20/25] xtensa: cpu: add CPU_RESOLVING_TYPE macro, Igor Mammedov, 2018/01/23
- [Qemu-ppc] [PATCH v3 21/25] hppa: cpu: add CPU_RESOLVING_TYPE macro, Igor Mammedov, 2018/01/23
- [Qemu-ppc] [PATCH v3 22/25] tilegx: cpu: add CPU_RESOLVING_TYPE macro,
Igor Mammedov <=
- [Qemu-ppc] [PATCH v3 23/25] Use cpu_create(type) instead of cpu_init(cpu_model), Igor Mammedov, 2018/01/23
- [Qemu-ppc] [PATCH v3 24/25] cpu: get rid of unused cpu_init() defines, Igor Mammedov, 2018/01/23
- [Qemu-ppc] [PATCH v3 25/25] cpu: get rid of cpu_generic_init(), Igor Mammedov, 2018/01/23