Revision 5fafdf24 target-i386/exec.h

b/target-i386/exec.h
1 1
/*
2
 *  i386 execution defines 
2
 *  i386 execution defines
3 3
 *
4 4
 *  Copyright (c) 2003 Fabrice Bellard
5 5
 *
......
162 162
void cpu_x86_update_cr3(CPUX86State *env, target_ulong new_cr3);
163 163
void cpu_x86_update_cr4(CPUX86State *env, uint32_t new_cr4);
164 164
void cpu_x86_flush_tlb(CPUX86State *env, target_ulong addr);
165
int cpu_x86_handle_mmu_fault(CPUX86State *env, target_ulong addr, 
165
int cpu_x86_handle_mmu_fault(CPUX86State *env, target_ulong addr,
166 166
                             int is_write, int is_user, int is_softmmu);
167
void tlb_fill(target_ulong addr, int is_write, int is_user, 
167
void tlb_fill(target_ulong addr, int is_write, int is_user,
168 168
              void *retaddr);
169 169
void __hidden cpu_lock(void);
170 170
void __hidden cpu_unlock(void);
171
void do_interrupt(int intno, int is_int, int error_code, 
171
void do_interrupt(int intno, int is_int, int error_code,
172 172
                  target_ulong next_eip, int is_hw);
173
void do_interrupt_user(int intno, int is_int, int error_code, 
173
void do_interrupt_user(int intno, int is_int, int error_code,
174 174
                       target_ulong next_eip);
175
void raise_interrupt(int intno, int is_int, int error_code, 
175
void raise_interrupt(int intno, int is_int, int error_code,
176 176
                     int next_eip_addend);
177 177
void raise_exception_err(int exception_index, int error_code);
178 178
void raise_exception(int exception_index);
......
443 443
static inline void helper_fstt(CPU86_LDouble f, target_ulong ptr)
444 444
{
445 445
    CPU86_LDoubleU temp;
446
    
446
   
447 447
    temp.d = f;
448 448
    stq(ptr, temp.l.lower);
449 449
    stw(ptr + 8, temp.l.upper);
......
517 517
{
518 518
    CC_SRC = eflags & (CC_O | CC_S | CC_Z | CC_A | CC_P | CC_C);
519 519
    DF = 1 - (2 * ((eflags >> 10) & 1));
520
    env->eflags = (env->eflags & ~update_mask) | 
520
    env->eflags = (env->eflags & ~update_mask) |
521 521
        (eflags & update_mask);
522 522
}
523 523

  

Also available in: Unified diff