Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / accel / tcg / vcpu-state.h
blobe407d914dfdbba785c26d616930d29c5ec1aed75
1 /*
2 * SPDX-FileContributor: Philippe Mathieu-Daudé <philmd@linaro.org>
3 * SPDX-FileCopyrightText: 2023 Linaro Ltd.
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 #ifndef ACCEL_TCG_VCPU_STATE_H
7 #define ACCEL_TCG_VCPU_STATE_H
9 #include "hw/core/cpu.h"
11 #ifdef CONFIG_USER_ONLY
12 static inline TaskState *get_task_state(const CPUState *cs)
14 return cs->opaque;
16 #endif
18 #endif