[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 12/28] hw/core/cpu: Re-sort the non-pointers to the end of CPUClas
From: |
Richard Henderson |
Subject: |
[PULL 12/28] hw/core/cpu: Re-sort the non-pointers to the end of CPUClass |
Date: |
Wed, 6 Oct 2021 08:19:58 -0700 |
Despite the comment, the members were not kept at the end.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
include/hw/core/cpu.h | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h
index bc864564ce..b7d5bc1200 100644
--- a/include/hw/core/cpu.h
+++ b/include/hw/core/cpu.h
@@ -131,7 +131,6 @@ struct CPUClass {
ObjectClass *(*class_by_name)(const char *cpu_model);
void (*parse_features)(const char *typename, char *str, Error **errp);
- int reset_dump_flags;
bool (*has_work)(CPUState *cpu);
int (*memory_rw_debug)(CPUState *cpu, vaddr addr,
uint8_t *buf, int len, bool is_write);
@@ -149,9 +148,6 @@ struct CPUClass {
void (*disas_set_info)(CPUState *cpu, disassemble_info *info);
const char *deprecation_note;
- /* Keep non-pointer data at the end to minimize holes. */
- int gdb_num_core_regs;
- bool gdb_stop_before_watchpoint;
struct AccelCPUClass *accel_cpu;
/* when system emulation is not available, this pointer is NULL */
@@ -165,6 +161,13 @@ struct CPUClass {
* class data that depends on the accelerator, see accel/accel-common.c.
*/
void (*init_accel_cpu)(struct AccelCPUClass *accel_cpu, CPUClass *cc);
+
+ /*
+ * Keep non-pointer data at the end to minimize holes.
+ */
+ int reset_dump_flags;
+ int gdb_num_core_regs;
+ bool gdb_stop_before_watchpoint;
};
/*
--
2.25.1
- [PULL 10/28] plugins: Reorg arguments to qemu_plugin_vcpu_mem_cb, (continued)
- [PULL 10/28] plugins: Reorg arguments to qemu_plugin_vcpu_mem_cb, Richard Henderson, 2021/10/06
- [PULL 16/28] tcg/s390x: Merge TCG_AREG0 and TCG_REG_CALL_STACK into TCGReg, Richard Henderson, 2021/10/06
- [PULL 24/28] tcg/s390x: Implement vector shift operations, Richard Henderson, 2021/10/06
- [PULL 17/28] tcg/s390x: Add host vector framework, Richard Henderson, 2021/10/06
- [PULL 11/28] trace: Split guest_mem_before, Richard Henderson, 2021/10/06
- [PULL 22/28] tcg/s390x: Implement andc, orc, abs, neg, not vector operations, Richard Henderson, 2021/10/06
- [PULL 19/28] tcg/s390x: Implement tcg_out_mov for vector types, Richard Henderson, 2021/10/06
- [PULL 01/28] tests/docker: Remove fedora-i386-cross from DOCKER_PARTIAL_IMAGES, Richard Henderson, 2021/10/06
- [PULL 26/28] tcg/s390x: Implement TCG_TARGET_HAS_sat_vec, Richard Henderson, 2021/10/06
- [PULL 28/28] tcg/s390x: Implement TCG_TARGET_HAS_cmpsel_vec, Richard Henderson, 2021/10/06
- [PULL 12/28] hw/core/cpu: Re-sort the non-pointers to the end of CPUClass,
Richard Henderson <=
- [PULL 09/28] accel/tcg: Pass MemOpIdx to atomic_trace_*_post, Richard Henderson, 2021/10/06
- [PULL 15/28] tcg/s390x: Change FACILITY representation, Richard Henderson, 2021/10/06
- [PULL 18/28] tcg/s390x: Implement tcg_out_ld/st for vector types, Richard Henderson, 2021/10/06
- [PULL 21/28] tcg/s390x: Implement minimal vector operations, Richard Henderson, 2021/10/06
- [PULL 25/28] tcg/s390x: Implement TCG_TARGET_HAS_minmax_vec, Richard Henderson, 2021/10/06
- [PULL 20/28] tcg/s390x: Implement tcg_out_dup*_vec, Richard Henderson, 2021/10/06
- [PULL 23/28] tcg/s390x: Implement TCG_TARGET_HAS_mul_vec, Richard Henderson, 2021/10/06
- [PULL 27/28] tcg/s390x: Implement TCG_TARGET_HAS_bitsel_vec, Richard Henderson, 2021/10/06
- Re: [PULL 00/28] tcg patch queue, Richard Henderson, 2021/10/06