]> git.proxmox.com Git - mirror_qemu.git/blame - include/exec/translator.h
target: [tcg] Use a generic enum for DISAS_ values
[mirror_qemu.git] / include / exec / translator.h
CommitLineData
77fc6f5e
LV
1/*
2 * Generic intermediate code generation.
3 *
4 * Copyright (C) 2016-2017 Lluís Vilanova <vilanova@ac.upc.edu>
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
9
10#ifndef EXEC__TRANSLATOR_H
11#define EXEC__TRANSLATOR_H
12
13/**
14 * DisasJumpType:
15 * @DISAS_NEXT: Next instruction in program order.
16 * @DISAS_TOO_MANY: Too many instructions translated.
17 * @DISAS_NORETURN: Following code is dead.
18 * @DISAS_TARGET_*: Start of target-specific conditions.
19 *
20 * What instruction to disassemble next.
21 */
22typedef enum DisasJumpType {
23 DISAS_NEXT,
24 DISAS_TOO_MANY,
25 DISAS_NORETURN,
26 DISAS_TARGET_0,
27 DISAS_TARGET_1,
28 DISAS_TARGET_2,
29 DISAS_TARGET_3,
30 DISAS_TARGET_4,
31 DISAS_TARGET_5,
32 DISAS_TARGET_6,
33 DISAS_TARGET_7,
34 DISAS_TARGET_8,
35 DISAS_TARGET_9,
36 DISAS_TARGET_10,
37 DISAS_TARGET_11,
38} DisasJumpType;
39
40#endif /* EXEC__TRANSLATOR_H */