Add ENET device to i.MX6 SOC.
[qemu.git] / include / exec / helper-proto.h
1 /* Helper file for declaring TCG helper functions.
2 This one expands prototypes for the helper functions. */
3
4 #ifndef HELPER_PROTO_H
5 #define HELPER_PROTO_H 1
6
7 #include <exec/helper-head.h>
8
9 #define DEF_HELPER_FLAGS_0(name, flags, ret) \
10 dh_ctype(ret) HELPER(name) (void);
11
12 #define DEF_HELPER_FLAGS_1(name, flags, ret, t1) \
13 dh_ctype(ret) HELPER(name) (dh_ctype(t1));
14
15 #define DEF_HELPER_FLAGS_2(name, flags, ret, t1, t2) \
16 dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2));
17
18 #define DEF_HELPER_FLAGS_3(name, flags, ret, t1, t2, t3) \
19 dh_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) \
22 dh_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) \
26 dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2), dh_ctype(t3), \
27 dh_ctype(t4), dh_ctype(t5));
28
29 #include "helper.h"
30 #include "trace/generated-helpers.h"
31 #include "tcg-runtime.h"
32
33 #undef DEF_HELPER_FLAGS_0
34 #undef DEF_HELPER_FLAGS_1
35 #undef DEF_HELPER_FLAGS_2
36 #undef DEF_HELPER_FLAGS_3
37 #undef DEF_HELPER_FLAGS_4
38 #undef DEF_HELPER_FLAGS_5
39
40 #endif /* HELPER_PROTO_H */