]> git.ipfire.org Git - thirdparty/qemu.git/commit - target/sparc/translate.c
sparc: embed sparc_def_t into CPUSPARCState
authorIgor Mammedov <imammedo@redhat.com>
Thu, 24 Aug 2017 16:31:26 +0000 (18:31 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 1 Sep 2017 14:54:24 +0000 (11:54 -0300)
commit576e1c4c239621482474ba7b495a41bab2d16ae5
treeb6c7f91c7c06642b697c42dc8914855b69f97afb
parent12a6c15ef31c98ecefa63e91ac36955383038384
sparc: embed sparc_def_t into CPUSPARCState

Make CPUSPARCState::def embedded so it would be allocated as part
of cpu instance and we won't have to worry about cleaning def pointer
up mannualy on cpu destruction.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1503592308-93913-4-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
linux-user/sparc/target_syscall.h
target/sparc/cpu.c
target/sparc/cpu.h
target/sparc/int32_helper.c
target/sparc/int64_helper.c
target/sparc/ldst_helper.c
target/sparc/mmu_helper.c
target/sparc/translate.c
target/sparc/win_helper.c