mirror of
https://git.proxmox.com/git/qemu
synced 2025-07-09 20:23:01 +00:00
moved CALL_FROM_TBx definitions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1483 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
d325856010
commit
1b351e5291
@ -21,6 +21,30 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "exec.h"
|
#include "exec.h"
|
||||||
|
|
||||||
|
#ifndef CALL_FROM_TB0
|
||||||
|
#define CALL_FROM_TB0(func) func();
|
||||||
|
#endif
|
||||||
|
#ifndef CALL_FROM_TB1
|
||||||
|
#define CALL_FROM_TB1(func, arg0) func(arg0);
|
||||||
|
#endif
|
||||||
|
#ifndef CALL_FROM_TB1_CONST16
|
||||||
|
#define CALL_FROM_TB1_CONST16(func, arg0) CALL_FROM_TB1(func, arg0);
|
||||||
|
#endif
|
||||||
|
#ifndef CALL_FROM_TB2
|
||||||
|
#define CALL_FROM_TB2(func, arg0, arg1) func(arg0, arg1);
|
||||||
|
#endif
|
||||||
|
#ifndef CALL_FROM_TB2_CONST16
|
||||||
|
#define CALL_FROM_TB2_CONST16(func, arg0, arg1) \
|
||||||
|
CALL_FROM_TB2(func, arg0, arg1);
|
||||||
|
#endif
|
||||||
|
#ifndef CALL_FROM_TB3
|
||||||
|
#define CALL_FROM_TB3(func, arg0, arg1, arg2) func(arg0, arg1, arg2);
|
||||||
|
#endif
|
||||||
|
#ifndef CALL_FROM_TB4
|
||||||
|
#define CALL_FROM_TB4(func, arg0, arg1, arg2, arg3) \
|
||||||
|
func(arg0, arg1, arg2, arg3);
|
||||||
|
#endif
|
||||||
|
|
||||||
#define REG 1
|
#define REG 1
|
||||||
#include "op_template.c"
|
#include "op_template.c"
|
||||||
#undef REG
|
#undef REG
|
||||||
|
Loading…
Reference in New Issue
Block a user