diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-20 10:32:34 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-20 10:32:34 +0000 |
commit | a316d3353cefb6634f8007c8bb18f4744a66766b (patch) | |
tree | 4f3161b2dc1f0697e94ae890f3a40fb792c5ae11 /target-i386 | |
parent | 6e256c935cbd5ce9bf1891477188549bbb43e55b (diff) |
added CPU_COMMON and CPUState.tb_jmp_cache[]
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1630 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/cpu.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h index f8373a1025..cd12ca17ed 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -497,28 +497,11 @@ typedef struct CPUX86State { int error_code; int exception_is_int; target_ulong exception_next_eip; - struct TranslationBlock *current_tb; /* currently executing TB */ target_ulong dr[8]; /* debug registers */ int interrupt_request; int user_mode_only; /* user mode only simulation */ - /* soft mmu support */ - /* in order to avoid passing too many arguments to the memory - write helpers, we store some rarely used information in the CPU - context) */ - unsigned long mem_write_pc; /* host pc at which the memory was - written */ - target_ulong mem_write_vaddr; /* target virtual addr at which the - memory was written */ - /* 0 = kernel, 1 = user */ - CPUTLBEntry tlb_read[2][CPU_TLB_SIZE]; - CPUTLBEntry tlb_write[2][CPU_TLB_SIZE]; - - /* from this point: preserved by CPU reset */ - /* ice debug support */ - target_ulong breakpoints[MAX_BREAKPOINTS]; - int nb_breakpoints; - int singlestep_enabled; + CPU_COMMON /* processor features (e.g. for CPUID insn) */ uint32_t cpuid_level; @@ -538,8 +521,6 @@ typedef struct CPUX86State { /* in order to simplify APIC support, we leave this pointer to the user */ struct APICState *apic_state; - /* user data */ - void *opaque; } CPUX86State; CPUX86State *cpu_x86_init(void); |