mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
target/*: Add instance_align to all cpu base classes
The omission of alignment has technically been wrong since
269bd5d8f6
, where QEMU_ALIGNED was added to CPUTLBDescFast.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
61cd357698
commit
f669c99241
18 changed files with 18 additions and 1 deletions
|
@ -611,6 +611,7 @@ static const TypeInfo m68k_cpus_type_infos[] = {
|
|||
.name = TYPE_M68K_CPU,
|
||||
.parent = TYPE_CPU,
|
||||
.instance_size = sizeof(M68kCPU),
|
||||
.instance_align = __alignof(M68kCPU),
|
||||
.instance_init = m68k_cpu_initfn,
|
||||
.abstract = true,
|
||||
.class_size = sizeof(M68kCPUClass),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue