aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-08-10 14:42:24 +0800
committerBlue Swirl <blauwirbel@gmail.com>2012-08-11 09:36:57 +0000
commit889c134a82ac30f9beafa214b3920b2b39687832 (patch)
treeec1f7baf9f91d4137c8347f4157ad3fe951548f9
parentd48813dd7639885339e5e7a8cdf2d0e3ca714e1f (diff)
target-unicore32: Drop UC32_CPUID macros
Any code that depends on a particular CPU type can now go through callbacks on the QOM UniCore32CPUClass. Signed-off-by: Andreas Färber <afaerber@suse.de Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--target-unicore32/cpu.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/target-unicore32/cpu.h b/target-unicore32/cpu.h
index d14fde5161..06508a1278 100644
--- a/target-unicore32/cpu.h
+++ b/target-unicore32/cpu.h
@@ -122,10 +122,6 @@ void cpu_asr_write(CPUUniCore32State *env1, target_ulong val, target_ulong mask)
#define UC32_HWCAP_CMOV 4 /* 1 << 2 */
#define UC32_HWCAP_UCF64 8 /* 1 << 3 */
-#define UC32_CPUID(env) (env->cp0.c0_cpuid)
-#define UC32_CPUID_UCV2 0x40010863
-#define UC32_CPUID_ANY 0xffffffff
-
#define cpu_init uc32_cpu_init
#define cpu_exec uc32_cpu_exec
#define cpu_signal_handler uc32_cpu_signal_handler