VirtualBox

Changeset 4920 in vbox for trunk/src


Ignore:
Timestamp:
Sep 20, 2007 11:51:14 AM (17 years ago)
Author:
vboxsync
Message:

Corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r4917 r4920  
    871871VMMR0DECL(void) vmmR0LoggerFlush(PRTLOGGER pLogger)
    872872{
     873_asm int 3;
    873874    /*
    874875     * Convert the pLogger into a VM handle and 'call' back to Ring-3.
     
    926927    if (g_pVMAssert)
    927928    {
    928         g_pVMAssert->vmm.s.enmCallHostOperation = VMMCALLHOST_VMM_LOGGER_FLUSH;
    929         g_pVMAssert->vmm.s.u64CallHostArg = 0;
    930         g_pVMAssert->vmm.s.rcCallHost = VERR_INTERNAL_ERROR;
    931         int rc = vmmR0CallHostLongJmp(&g_pVMAssert->vmm.s.CallHostR0JmpBuf, VERR_INTERNAL_ERROR);
     929        int rc = VMMR0CallHost(g_pVMAssert, VMMCALLHOST_VM_R0_HYPER_ASSERTION, 0);
    932930        if (rc == VINF_SUCCESS)
    933931            rc = g_pVMAssert->vmm.s.rcCallHost;
     
    948946    {
    949947        PVM pVM = (PVM)pvVM;
    950         pVM->vmm.s.enmCallHostOperation = VMMCALLHOST_VM_R0_HYPER_ASSERTION;
    951         pVM->vmm.s.u64CallHostArg = 0;
    952         pVM->vmm.s.rcCallHost = VERR_INTERNAL_ERROR;
    953         int rc = vmmR0CallHostLongJmp(&pVM->vmm.s.CallHostR0JmpBuf, VERR_INTERNAL_ERROR);
    954         if (rc == VINF_SUCCESS)
    955             rc = pVM->vmm.s.rcCallHost;
     948        VMMR0CallHost(g_pVMAssert, VMMCALLHOST_VM_R0_HYPER_ASSERTION, 0);
     949        /* does not return */
    956950    }
    957951}
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