Revision a316d335 target-i386/cpu.h

b/target-i386/cpu.h
497 497
    int error_code;
498 498
    int exception_is_int;
499 499
    target_ulong exception_next_eip;
500
    struct TranslationBlock *current_tb; /* currently executing TB */
501 500
    target_ulong dr[8]; /* debug registers */
502 501
    int interrupt_request; 
503 502
    int user_mode_only; /* user mode only simulation */
504 503

  
505
    /* soft mmu support */
506
    /* in order to avoid passing too many arguments to the memory
507
       write helpers, we store some rarely used information in the CPU
508
       context) */
509
    unsigned long mem_write_pc; /* host pc at which the memory was
510
                                   written */
511
    target_ulong mem_write_vaddr; /* target virtual addr at which the
512
                                     memory was written */
513
    /* 0 = kernel, 1 = user */
514
    CPUTLBEntry tlb_read[2][CPU_TLB_SIZE];
515
    CPUTLBEntry tlb_write[2][CPU_TLB_SIZE];
516
    
517
    /* from this point: preserved by CPU reset */
518
    /* ice debug support */
519
    target_ulong breakpoints[MAX_BREAKPOINTS];
520
    int nb_breakpoints;
521
    int singlestep_enabled;
504
    CPU_COMMON
522 505

  
523 506
    /* processor features (e.g. for CPUID insn) */
524 507
    uint32_t cpuid_level;
......
538 521
    /* in order to simplify APIC support, we leave this pointer to the
539 522
       user */
540 523
    struct APICState *apic_state;
541
    /* user data */
542
    void *opaque;
543 524
} CPUX86State;
544 525

  
545 526
CPUX86State *cpu_x86_init(void);

Also available in: Unified diff