VirtualBox

Changeset 43394 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Sep 21, 2012 11:11:17 AM (12 years ago)
Author:
vboxsync
Message:

VMM: HM cleanup.

Location:
trunk/src/VBox/HostDrivers/Support
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.c

    r43387 r43394  
    10291029                pDevExt->pfnVMMR0EntryFast(pSession->pVM, idCpu, SUP_VMMR0_DO_RAW_RUN);
    10301030                break;
    1031             case SUP_IOCTL_FAST_DO_HWACC_RUN:
    1032                 pDevExt->pfnVMMR0EntryFast(pSession->pVM, idCpu, SUP_VMMR0_DO_HWACC_RUN);
     1031            case SUP_IOCTL_FAST_DO_HM_RUN:
     1032                pDevExt->pfnVMMR0EntryFast(pSession->pVM, idCpu, SUP_VMMR0_DO_HM_RUN);
    10331033                break;
    10341034            case SUP_IOCTL_FAST_DO_NOP:
  • trunk/src/VBox/HostDrivers/Support/SUPDrvIOC.h

    r43379 r43394  
    101101/** Fast path IOCtl: VMMR0_DO_RAW_RUN */
    102102#define SUP_IOCTL_FAST_DO_RAW_RUN               SUP_CTL_CODE_FAST(64)
    103 /** Fast path IOCtl: VMMR0_DO_HWACC_RUN */
    104 #define SUP_IOCTL_FAST_DO_HWACC_RUN             SUP_CTL_CODE_FAST(65)
     103/** Fast path IOCtl: VMMR0_DO_HM_RUN */
     104#define SUP_IOCTL_FAST_DO_HM_RUN             SUP_CTL_CODE_FAST(65)
    105105/** Just a NOP call for profiling the latency of a fast ioctl call to VMMR0. */
    106106#define SUP_IOCTL_FAST_DO_NOP                   SUP_CTL_CODE_FAST(66)
  • trunk/src/VBox/HostDrivers/Support/SUPLib.cpp

    r43379 r43394  
    591591    if (RT_LIKELY(uOperation == SUP_VMMR0_DO_RAW_RUN))
    592592        return suplibOsIOCtlFast(&g_supLibData, SUP_IOCTL_FAST_DO_RAW_RUN, idCpu);
    593     if (RT_LIKELY(uOperation == SUP_VMMR0_DO_HWACC_RUN))
    594         return suplibOsIOCtlFast(&g_supLibData, SUP_IOCTL_FAST_DO_HWACC_RUN, idCpu);
     593    if (RT_LIKELY(uOperation == SUP_VMMR0_DO_HM_RUN))
     594        return suplibOsIOCtlFast(&g_supLibData, SUP_IOCTL_FAST_DO_HM_RUN, idCpu);
    595595    if (RT_LIKELY(uOperation == SUP_VMMR0_DO_NOP))
    596596        return suplibOsIOCtlFast(&g_supLibData, SUP_IOCTL_FAST_DO_NOP, idCpu);
     
    607607     */
    608608    AssertMsgReturn(    uOperation != SUP_VMMR0_DO_RAW_RUN
    609                     &&  uOperation != SUP_VMMR0_DO_HWACC_RUN
     609                    &&  uOperation != SUP_VMMR0_DO_HM_RUN
    610610                    &&  uOperation != SUP_VMMR0_DO_NOP,
    611611                    ("%#x\n", uOperation),
     
    694694     */
    695695    AssertMsgReturn(    uOperation != SUP_VMMR0_DO_RAW_RUN
    696                     &&  uOperation != SUP_VMMR0_DO_HWACC_RUN
     696                    &&  uOperation != SUP_VMMR0_DO_HM_RUN
    697697                    &&  uOperation != SUP_VMMR0_DO_NOP,
    698698                    ("%#x\n", uOperation),
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp

    r43379 r43394  
    515515     */
    516516    if (    iCmd == SUP_IOCTL_FAST_DO_RAW_RUN
    517         ||  iCmd == SUP_IOCTL_FAST_DO_HWACC_RUN
     517        ||  iCmd == SUP_IOCTL_FAST_DO_HM_RUN
    518518        ||  iCmd == SUP_IOCTL_FAST_DO_NOP)
    519519        return supdrvIOCtlFast(iCmd, *(uint32_t *)pData, &g_DevExt, pSession);
  • trunk/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c

    r41067 r43394  
    289289     */
    290290    if (    ulCmd == SUP_IOCTL_FAST_DO_RAW_RUN
    291         ||  ulCmd == SUP_IOCTL_FAST_DO_HWACC_RUN
     291        ||  ulCmd == SUP_IOCTL_FAST_DO_HM_RUN
    292292        ||  ulCmd == SUP_IOCTL_FAST_DO_NOP)
    293293        return supdrvIOCtlFast(ulCmd, *(uint32_t *)pvData, &g_VBoxDrvFreeBSDDevExt, pSession);
  • trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c

    r41067 r43394  
    540540#ifdef HAVE_UNLOCKED_IOCTL
    541541    if (RT_LIKELY(   uCmd == SUP_IOCTL_FAST_DO_RAW_RUN
    542                   || uCmd == SUP_IOCTL_FAST_DO_HWACC_RUN
     542                  || uCmd == SUP_IOCTL_FAST_DO_HM_RUN
    543543                  || uCmd == SUP_IOCTL_FAST_DO_NOP))
    544544        return supdrvIOCtlFast(uCmd, ulArg, &g_DevExt, (PSUPDRVSESSION)pFilp->private_data);
     
    550550    unlock_kernel();
    551551    if (RT_LIKELY(   uCmd == SUP_IOCTL_FAST_DO_RAW_RUN
    552                   || uCmd == SUP_IOCTL_FAST_DO_HWACC_RUN
     552                  || uCmd == SUP_IOCTL_FAST_DO_HM_RUN
    553553                  || uCmd == SUP_IOCTL_FAST_DO_NOP))
    554554        rc = supdrvIOCtlFast(uCmd, ulArg, &g_DevExt, (PSUPDRVSESSION)pFilp->private_data);
  • trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c

    r41067 r43394  
    685685     */
    686686    if (    Cmd == SUP_IOCTL_FAST_DO_RAW_RUN
    687         ||  Cmd == SUP_IOCTL_FAST_DO_HWACC_RUN
     687        ||  Cmd == SUP_IOCTL_FAST_DO_HM_RUN
    688688        ||  Cmd == SUP_IOCTL_FAST_DO_NOP)
    689689    {
  • trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp

    r41774 r43394  
    356356    ULONG ulCmd = pStack->Parameters.DeviceIoControl.IoControlCode;
    357357    if (    ulCmd == SUP_IOCTL_FAST_DO_RAW_RUN
    358         ||  ulCmd == SUP_IOCTL_FAST_DO_HWACC_RUN
     358        ||  ulCmd == SUP_IOCTL_FAST_DO_HM_RUN
    359359        ||  ulCmd == SUP_IOCTL_FAST_DO_NOP)
    360360    {
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