| 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 | /* |
| 3 | * Definition of TCGTBCPUState. |
| 4 | */ |
| 5 | |
| 6 | #ifndef EXEC_TB_CPU_STATE_H |
| 7 | #define EXEC_TB_CPU_STATE_H |
| 8 | |
| 9 | #ifndef CONFIG_TCG |
| 10 | #error Can only include this header with TCG |
| 11 | #endif |
| 12 | |
| 13 | #include "exec/vaddr.h" |
| 14 | |
| 15 | typedef struct TCGTBCPUState { |
| 16 | vaddr pc; |
| 17 | uint32_t flags; |
| 18 | uint32_t cflags; |
| 19 | uint64_t cs_base; |
| 20 | } TCGTBCPUState; |
| 21 | |
| 22 | #endif |