VirtualBox

Changeset 14702

Show
Ignore:
Timestamp:
11/27/08 14:14:53 (1 month ago)
Author:
vboxsync
Message:

hopefully fixed timer starvation, temporary disabled VA in TLB again

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/Devices/PC/DevPit-i8254.cpp

    r14631 r14702  
    7575 * Define this to flip the 15usec refresh bit on every read. 
    7676 * If not defined, it will be flipped correctly. */ 
    77 #define FAKE_REFRESH_CLOCK 
     77/* #define FAKE_REFRESH_CLOCK */ 
    7878#ifdef DOXYGEN_RUNNING 
    7979# define FAKE_REFRESH_CLOCK 
  • trunk/src/recompiler_new/Makefile.kmk

    r14640 r14702  
    7070# 
    7171$(REM_MOD)_DEFS             = IN_REM_R3 REM_INCLUDE_CPU_H  
    72 #$(REM_MOD)_DEFS            += REM_PHYS_ADDR_IN_TLB 
     72$(REM_MOD)_DEFS            += REM_PHYS_ADDR_IN_TLB 
    7373#$(REM_MOD)_DEFS           += DEBUG_ALL_LOGGING DEBUG_DISAS DEBUG_PCALL DEBUG_EXEC DEBUG_FLUSH DEBUG_IOPORT DEBUG_SIGNAL DEBUG_TLB_CHECK DEBUG_TB_INVALIDATE DEBUG_TLB  # Enables huge amounts of debug logging. 
    7474$(REM_MOD)_DEFS.linux      = _GNU_SOURCE 
  • trunk/src/recompiler_new/target-i386/translate.c

    r14582 r14702  
    912912    tcg_gen_movi_tl(cpu_tmp0, pc); 
    913913    tcg_gen_st_tl(cpu_tmp0, cpu_env, offsetof(CPUState, eip)); 
     914#ifdef VBOX 
     915    gen_check_external_event2(); 
     916#endif 
    914917} 
    915918 
     
    11041107                           tcg_const_i32(next_eip - cur_eip)); 
    11051108    } 
    1106 #ifdef VBOX 
    1107     gen_check_external_event2(s); 
    1108 #endif /* VBOX */ 
    11091109} 
    11101110 
     
    26912691    int l1, l2, cc_op; 
    26922692 
    2693 #ifdef VBOX 
    2694         gen_check_external_event(s); 
    2695 #endif /* VBOX */ 
    26962693    cc_op = s->cc_op; 
    26972694    if (s->cc_op != CC_OP_DYNAMIC) { 
     
    27002697    } 
    27012698    if (s->jmp_opt) { 
     2699#ifdef VBOX 
     2700        gen_check_external_event(s); 
     2701#endif /* VBOX */ 
    27022702        l1 = gen_new_label(); 
    27032703        gen_jcc1(s, cc_op, b, l1); 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy