diff options
author | Andreas Färber <afaerber@suse.de> | 2013-01-20 11:43:30 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-02-01 01:35:21 +0100 |
commit | 88e28512efd8d36476e50a78acb1dca8b41a3cf1 (patch) | |
tree | 817090e797171454bd9f3390c054267298b555b8 /target-unicore32/cpu.h | |
parent | 6b2578d678497dbce44ed7999d269fc973ae6e8f (diff) |
target-unicore32: Mark as unmigratable
CPU_SAVE_VERSION 2 was bogus as both save and load would just throw a
hw_error(). Therefore we can without problems suppress registration of
"cpu_common" VMState by dropping CPU_SAVE_VERSION define and provide an
unmigratable "cpu" VMStateDescription for UniCore32CPU at device level
instead, where we can attach this the QOM way.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'target-unicore32/cpu.h')
-rw-r--r-- | target-unicore32/cpu.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target-unicore32/cpu.h b/target-unicore32/cpu.h index 509ce7c69d..ae9a9d623d 100644 --- a/target-unicore32/cpu.h +++ b/target-unicore32/cpu.h @@ -133,8 +133,6 @@ int uc32_cpu_signal_handler(int host_signum, void *pinfo, void *puc); int uc32_cpu_handle_mmu_fault(CPUUniCore32State *env, target_ulong address, int rw, int mmu_idx); -#define CPU_SAVE_VERSION 2 - /* MMU modes definitions */ #define MMU_MODE0_SUFFIX _kernel #define MMU_MODE1_SUFFIX _user |