VirtualBox

Changeset 41976 in vbox for trunk/src/VBox/VMM/VMMRC


Ignore:
Timestamp:
Jul 1, 2012 2:16:40 PM (12 years ago)
Author:
vboxsync
Message:

VMM: Switcher and TRPM fixes wrt hypervisor traps and tstVMM.

Location:
trunk/src/VBox/VMM/VMMRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRC/TRPMRCHandlersA.asm

    r41943 r41976  
    452452%endif
    453453    mov     edx, IMP(g_VM)
    454     call    [edx + VM.pfnVMMGCGuestToHostAsm]
     454    call    [edx + VM.pfnVMMRCToHostAsm]
    455455
    456456    ; We shouldn't ever return this way. So, raise a special IPE if we do.
     
    458458    mov     eax, VERR_TRPM_IPE_3
    459459    mov     edx, IMP(g_VM)
    460     call    [edx + VM.pfnVMMGCGuestToHostAsm]
     460    call    [edx + VM.pfnVMMRCToHostAsm]
    461461    jmp     .gc_panic_again
    462462
     
    611611    ;
    612612.rc_to_host:
    613     mov     ecx, ebx
    614613    mov     edx, IMP(g_VM)
    615     call    [edx + VM.pfnVMMGCGuestToHostAsm]
    616     jmp short .rc_continue
     614%if 0
     615    call    [edx + VM.pfnVMMRCToHostAsm]
     616%else
     617    call    [edx + VM.pfnVMMRCToHostAsmNoReturn]
     618%endif
     619    mov     eax, VERR_TRPM_DONT_PANIC
     620    jmp     .rc_to_host
    617621
    618622    ;
     
    691695    mov     edx, IMP(g_VM)
    692696    mov     eax, VERR_TRPM_DONT_PANIC
    693     call    [edx + VM.pfnVMMGCGuestToHostAsm]
     697%if 0
     698    call    [edx + VM.pfnVMMRCToHostAsm]
     699%else
     700    call    [edx + VM.pfnVMMRCToHostAsmNoReturn]
     701%endif
    694702%ifdef DEBUG_STUFF
    695703    COM_S_PRINT 'bad!!!'
     
    912920    mov     edx, IMP(g_VM)
    913921    mov     eax, VINF_EM_RAW_INTERRUPT
    914     call    [edx + VM.pfnVMMGCGuestToHostAsm]
     922    call    [edx + VM.pfnVMMRCToHostAsm]
    915923
    916924    ;
     
    10221030    mov     edx, IMP(g_VM)
    10231031    mov     eax, VINF_EM_RAW_INTERRUPT_HYPER
    1024     call    [edx + VM.pfnVMMGCGuestToHostAsm]
     1032%if 0
     1033    call    [edx + VM.pfnVMMRCToHostAsm]
     1034%else
     1035    call    [edx + VM.pfnVMMRCToHostAsmNoReturn]
     1036%endif
    10251037%ifdef DEBUG_STUFF_INT
    10261038    COM_S_CHAR '!'
     
    12441256    mov     edx, IMP(g_VM)
    12451257    mov     eax, VERR_TRPM_PANIC
    1246     call    [edx + VM.pfnVMMGCGuestToHostAsm]
     1258%if 0
     1259    call    [edx + VM.pfnVMMRCToHostAsm]
     1260%else
     1261    call    [edx + VM.pfnVMMRCToHostAsmNoReturn]
     1262%endif
    12471263    jmp short df_to_host
    12481264
  • trunk/src/VBox/VMM/VMMRC/VMMRC.cpp

    r41965 r41976  
    205205VMMRCDECL(void) VMMGCGuestToHost(PVM pVM, int rc)
    206206{
    207     pVM->vmm.s.pfnGuestToHostRC(rc);
     207    pVM->vmm.s.pfnRCToHost(rc);
    208208}
    209209
     
    216216DECLASM(void) vmmRCProbeFireHelper(PVM pVM)
    217217{
    218     pVM->vmm.s.pfnGuestToHostRC(VINF_VMM_CALL_TRACER);
     218    pVM->vmm.s.pfnRCToHost(VINF_VMM_CALL_TRACER);
    219219}
    220220
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette