Revision bdf7ae5b target-i386/cpu.h
b/target-i386/cpu.h | ||
---|---|---|
1148 | 1148 |
|
1149 | 1149 |
#include "exec/exec-all.h" |
1150 | 1150 |
|
1151 |
static inline void cpu_pc_from_tb(CPUX86State *env, TranslationBlock *tb) |
|
1152 |
{ |
|
1153 |
env->eip = tb->pc - tb->cs_base; |
|
1154 |
} |
|
1155 |
|
|
1156 | 1151 |
static inline void cpu_get_tb_cpu_state(CPUX86State *env, target_ulong *pc, |
1157 | 1152 |
target_ulong *cs_base, int *flags) |
1158 | 1153 |
{ |
Also available in: Unified diff