More 16-bits aligned cpu state targets

This commit is contained in:
mio
2024-10-17 16:33:59 +08:00
parent ffeddd7579
commit c42cc0fe86
3 changed files with 6 additions and 3 deletions

View File

@@ -11016,7 +11016,8 @@ PowerPCCPU *cpu_ppc_init(struct uc_struct *uc)
CPUClass *cc;
PowerPCCPUClass *pcc;
cpu = qemu_memalign(8, sizeof(*cpu));
// vsr
cpu = qemu_memalign(16, sizeof(*cpu));
if (cpu == NULL) {
return NULL;
}