1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * LoongArch emulation helpers for QEMU.
5 * Copyright (c) 2021 Loongson Technology Corporation Limited
8 #include "qemu/osdep.h"
9 #include "qemu/main-loop.h"
11 #include "qemu/host-utils.h"
12 #include "exec/helper-proto.h"
13 #include "exec/exec-all.h"
14 #include "exec/cpu_ldst.h"
15 #include "internals.h"
17 /* Exceptions helpers */
18 void helper_raise_exception(CPULoongArchState *env, uint32_t exception)
20 do_raise_exception(env, exception, GETPC());