]> git.proxmox.com Git - mirror_qemu.git/blame - include/exec/helper-proto.h
tracing: remove the trace-tcg includes from the build
[mirror_qemu.git] / include / exec / helper-proto.h
CommitLineData
2ef6175a
RH
1/* Helper file for declaring TCG helper functions.
2 This one expands prototypes for the helper functions. */
3
4#ifndef HELPER_PROTO_H
175de524 5#define HELPER_PROTO_H
2ef6175a 6
a9c94277 7#include "exec/helper-head.h"
2ef6175a
RH
8
9#define DEF_HELPER_FLAGS_0(name, flags, ret) \
10dh_ctype(ret) HELPER(name) (void);
11
12#define DEF_HELPER_FLAGS_1(name, flags, ret, t1) \
13dh_ctype(ret) HELPER(name) (dh_ctype(t1));
14
15#define DEF_HELPER_FLAGS_2(name, flags, ret, t1, t2) \
16dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2));
17
18#define DEF_HELPER_FLAGS_3(name, flags, ret, t1, t2, t3) \
19dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2), dh_ctype(t3));
20
21#define DEF_HELPER_FLAGS_4(name, flags, ret, t1, t2, t3, t4) \
22dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2), dh_ctype(t3), \
23 dh_ctype(t4));
24
25#define DEF_HELPER_FLAGS_5(name, flags, ret, t1, t2, t3, t4, t5) \
26dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2), dh_ctype(t3), \
27 dh_ctype(t4), dh_ctype(t5));
28
1df3caa9
RH
29#define DEF_HELPER_FLAGS_6(name, flags, ret, t1, t2, t3, t4, t5, t6) \
30dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2), dh_ctype(t3), \
31 dh_ctype(t4), dh_ctype(t5), dh_ctype(t6));
32
e6cadf49
TS
33#define DEF_HELPER_FLAGS_7(name, flags, ret, t1, t2, t3, t4, t5, t6, t7) \
34dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2), dh_ctype(t3), \
35 dh_ctype(t4), dh_ctype(t5), dh_ctype(t6), \
36 dh_ctype(t7));
37
6d3ef048
RH
38#define IN_HELPER_PROTO
39
2ef6175a 40#include "helper.h"
db647703
PMD
41#include "accel/tcg/tcg-runtime.h"
42#include "accel/tcg/plugin-helpers.h"
2ef6175a 43
6d3ef048
RH
44#undef IN_HELPER_PROTO
45
2ef6175a
RH
46#undef DEF_HELPER_FLAGS_0
47#undef DEF_HELPER_FLAGS_1
48#undef DEF_HELPER_FLAGS_2
49#undef DEF_HELPER_FLAGS_3
50#undef DEF_HELPER_FLAGS_4
51#undef DEF_HELPER_FLAGS_5
1df3caa9 52#undef DEF_HELPER_FLAGS_6
e6cadf49 53#undef DEF_HELPER_FLAGS_7
2ef6175a
RH
54
55#endif /* HELPER_PROTO_H */