VirtualBox

Changeset 93651 in vbox


Ignore:
Timestamp:
Feb 8, 2022 10:53:29 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
149805
Message:

VMM/PGM,*: Split the physical access handler type registration into separate ring-0 and ring-3 steps, expanding the type to 64-bit. [build fixes] bugref:10094

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pgm.h

    r93650 r93651  
    127127    PGMPHYSHANDLERKIND_END,
    128128    /** Type size hack. */
    129     PGMPHYSHANDLERKIND_32BIT_HACK = 0x7fffffff,
     129    PGMPHYSHANDLERKIND_32BIT_HACK = 0x7fffffff
    130130} PGMPHYSHANDLERKIND;
    131131
  • trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp

    r93650 r93651  
    860860/** @interface_method_impl{PDMDEVHLPR3,pfnPGMHandlerPhysicalTypeRegister} */
    861861static DECLCALLBACK(int) pdmR3DevHlp_PGMHandlerPhysicalTypeRegister(PPDMDEVINS pDevIns, PGMPHYSHANDLERKIND enmKind,
    862                                                                     PFNPGMPHYSHANDLER pfnHandlerR3, const char *pszDesc,
     862                                                                    PFNPGMPHYSHANDLER pfnHandler, const char *pszDesc,
    863863                                                                    PPGMPHYSHANDLERTYPE phType)
    864864{
    865865    PDMDEV_ASSERT_DEVINS(pDevIns);
    866866    PVM  pVM = pDevIns->Internal.s.pVMR3;
    867     LogFlow(("pdmR3DevHlp_PGMHandlerPhysicalTypeRegister: caller='%s'/%d: enmKind=%d pfnHandlerR3=%p pszDesc=%p:{%s} phType=%p\n",
    868              pDevIns->pReg->szName, pDevIns->iInstance, enmKind, pfnHandlerR3, pszDesc, pszDesc, phType));
     867    LogFlow(("pdmR3DevHlp_PGMHandlerPhysicalTypeRegister: caller='%s'/%d: enmKind=%d pfnHandler=%p pszDesc=%p:{%s} phType=%p\n",
     868             pDevIns->pReg->szName, pDevIns->iInstance, enmKind, pfnHandler, pszDesc, pszDesc, phType));
    869869
    870870    int rc = PGMR3HandlerPhysicalTypeRegister(pVM, enmKind,
    871871                                              pDevIns->Internal.s.fIntFlags & PDMDEVINSINT_FLAGS_R0_ENABLED
    872872                                              ? PGMPHYSHANDLER_F_R0_DEVINS_IDX : 0,
    873                                               pfnHandlerR3, pszDesc, phType);
     873                                              pfnHandler, pszDesc, phType);
    874874
    875875    Log(("pdmR3DevHlp_PGMHandlerPhysicalTypeRegister: caller='%s'/%d: returns %Rrc\n",
Note: See TracChangeset for help on using the changeset viewer.

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