]> git.proxmox.com Git - mirror_qemu.git/blame - target/loongarch/internals.h
target/loongarch: Add core definition
[mirror_qemu.git] / target / loongarch / internals.h
CommitLineData
228021f0
SG
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * QEMU LoongArch CPU -- internal functions and types
4 *
5 * Copyright (c) 2021 Loongson Technology Corporation Limited
6 */
7
8#ifndef LOONGARCH_INTERNALS_H
9#define LOONGARCH_INTERNALS_H
10
11void loongarch_translate_init(void);
12
13void loongarch_cpu_dump_state(CPUState *cpu, FILE *f, int flags);
14
15void G_NORETURN do_raise_exception(CPULoongArchState *env,
16 uint32_t exception,
17 uintptr_t pc);
18
19const char *loongarch_exception_name(int32_t exception);
20
21#endif