VirtualBox

Changeset 95112 in vbox


Ignore:
Timestamp:
May 25, 2022 8:43:25 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151593
Message:

VMM/PGMPool: Corrected pgmPoolAccessHandler declaration to use DECLCALLBACK (noexcept/c++17).

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r93931 r95112  
    938938 * @remarks The @a uUser argument is the index of the PGMPOOLPAGE.
    939939 */
    940 DECLEXPORT(VBOXSTRICTRC) pgmRZPoolAccessPfHandler(PVMCC pVM, PVMCPUCC pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame,
    941                                                   RTGCPTR pvFault, RTGCPHYS GCPhysFault, uint64_t uUser)
     940DECLCALLBACK(VBOXSTRICTRC) pgmRZPoolAccessPfHandler(PVMCC pVM, PVMCPUCC pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame,
     941                                                    RTGCPTR pvFault, RTGCPHYS GCPhysFault, uint64_t uUser)
    942942{
    943943    STAM_PROFILE_START(&pVM->pgm.s.CTX_SUFF(pPool)->StatMonitorRZ, a);
     
    12451245 * @note    The @a uUser argument is the index of the PGMPOOLPAGE.
    12461246 */
    1247 PGM_ALL_CB2_DECL(VBOXSTRICTRC)
     1247DECLCALLBACK(VBOXSTRICTRC)
    12481248pgmPoolAccessHandler(PVMCC pVM, PVMCPUCC pVCpu, RTGCPHYS GCPhys, void *pvPhys, void *pvBuf, size_t cbBuf,
    12491249                     PGMACCESSTYPE enmAccessType, PGMACCESSORIGIN enmOrigin, uint64_t uUser)
  • trunk/src/VBox/VMM/include/PGMInternal.h

    r93922 r95112  
    37463746void            pgmPoolMonitorChainFlush(PPGMPOOL pPool, PPGMPOOLPAGE pPage);
    37473747void            pgmPoolMonitorModifiedInsert(PPGMPOOL pPool, PPGMPOOLPAGE pPage);
    3748 PGM_ALL_CB2_PROTO(FNPGMPHYSHANDLER) pgmPoolAccessHandler;
     3748FNPGMPHYSHANDLER    pgmPoolAccessHandler;
    37493749#ifndef IN_RING3
    3750 DECLEXPORT(FNPGMRZPHYSPFHANDLER)    pgmRZPoolAccessPfHandler;
     3750FNPGMRZPHYSPFHANDLER pgmRZPoolAccessPfHandler;
    37513751#endif
    37523752
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