Revision a316d335 target-sparc/cpu.h

b/target-sparc/cpu.h
166 166
    int exception_index;
167 167
    int interrupt_index;
168 168
    int interrupt_request;
169
    struct TranslationBlock *current_tb;
170
    void *opaque;
171 169
    /* NOTE: we allow 8 more registers to handle wrapping */
172 170
    target_ulong regbase[NWINDOWS * 16 + 8];
173 171

  
174
    /* in order to avoid passing too many arguments to the memory
175
       write helpers, we store some rarely used information in the CPU
176
       context) */
177
    unsigned long mem_write_pc; /* host pc at which the memory was
178
                                   written */
179
    target_ulong mem_write_vaddr; /* target virtual addr at which the
180
                                      memory was written */
181
    /* 0 = kernel, 1 = user (may have 2 = kernel code, 3 = user code ?) */
182
    CPUTLBEntry tlb_read[2][CPU_TLB_SIZE];
183
    CPUTLBEntry tlb_write[2][CPU_TLB_SIZE];
172
    CPU_COMMON
173

  
184 174
    /* MMU regs */
185 175
#if defined(TARGET_SPARC64)
186 176
    uint64_t lsu;
......
222 212
#if !defined(TARGET_SPARC64) && !defined(reg_T2)
223 213
    target_ulong t2;
224 214
#endif
225

  
226
    /* ice debug support */
227
    target_ulong breakpoints[MAX_BREAKPOINTS];
228
    int nb_breakpoints;
229
    int singlestep_enabled; /* XXX: should use CPU single step mode instead */
230

  
231 215
} CPUSPARCState;
232 216
#if defined(TARGET_SPARC64)
233 217
#define GET_FSR32(env) (env->fsr & 0xcfc1ffff)

Also available in: Unified diff