mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-31 06:13:53 -06:00

Combine 3 different pointer returns into one structure return. Include a cflags field in TCGTBCPUState, not filled in by cpu_get_tb_cpu_state, but used by all callers. This fills a hole in the structure and is useful in some subroutines. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
18 lines
304 B
C
18 lines
304 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
/*
|
|
* Definition of TCGTBCPUState.
|
|
*/
|
|
|
|
#ifndef EXEC_TB_CPU_STATE_H
|
|
#define EXEC_TB_CPU_STATE_H
|
|
|
|
#include "exec/vaddr.h"
|
|
|
|
typedef struct TCGTBCPUState {
|
|
vaddr pc;
|
|
uint32_t flags;
|
|
uint32_t cflags;
|
|
uint64_t cs_base;
|
|
} TCGTBCPUState;
|
|
|
|
#endif
|