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

@@ -245,7 +245,8 @@ S390CPU *cpu_s390_init(struct uc_struct *uc, const char *cpu_model)
CPUClass *cc;
// int i;
cpu = qemu_memalign(8, sizeof(*cpu));
// vregs
cpu = qemu_memalign(16, sizeof(*cpu));
if (cpu == NULL) {
return NULL;
}