Revision 10eb0cc0 target-i386/cpu.h
b/target-i386/cpu.h | ||
---|---|---|
941 | 941 |
#include "hw/apic.h" |
942 | 942 |
#endif |
943 | 943 |
|
944 |
static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) |
|
945 |
{ |
|
946 |
env->eip = tb->pc - tb->cs_base; |
|
947 |
} |
|
948 |
|
|
949 | 944 |
static inline void cpu_get_tb_cpu_state(CPUState *env, target_ulong *pc, |
950 | 945 |
target_ulong *cs_base, int *flags) |
951 | 946 |
{ |
Also available in: Unified diff