Revision ec6338ba target-i386/cpu.h
b/target-i386/cpu.h | ||
---|---|---|
46 | 46 |
|
47 | 47 |
#include "softfloat.h" |
48 | 48 |
|
49 |
#if defined(__i386__) && !defined(CONFIG_SOFTMMU) && !defined(__APPLE__) |
|
50 |
#define USE_CODE_COPY |
|
51 |
#endif |
|
52 |
|
|
53 | 49 |
#define R_EAX 0 |
54 | 50 |
#define R_ECX 1 |
55 | 51 |
#define R_EDX 2 |
... | ... | |
552 | 548 |
|
553 | 549 |
uint64_t pat; |
554 | 550 |
|
555 |
/* temporary data for USE_CODE_COPY mode */ |
|
556 |
#ifdef USE_CODE_COPY |
|
557 |
uint32_t tmp0; |
|
558 |
uint32_t saved_esp; |
|
559 |
int native_fp_regs; /* if true, the FPU state is in the native CPU regs */ |
|
560 |
#endif |
|
561 |
|
|
562 | 551 |
/* exception/interrupt handling */ |
563 | 552 |
jmp_buf jmp_env; |
564 | 553 |
int exception_index; |
Also available in: Unified diff