VirtualBox

Changeset 58116 in vbox for trunk


Ignore:
Timestamp:
Oct 8, 2015 2:51:53 PM (9 years ago)
Author:
vboxsync
Message:

VMM: Doxygen fixes.

Location:
trunk
Files:
45 edited

Legend:

Unmodified
Added
Removed
  • trunk/Doxyfile.Core

    r58106 r58116  
    484484    DECLVBGL(type)=type \
    485485    DECLR0VBGL(type)=type \
    486     USBLIB_DECL(type)=type
     486    USBLIB_DECL(type)=type \
     487    VMMR0_INT_DECL(type)=type \
     488    VMMR3_INT_DECL(type)=type \
     489    VMMRC_INT_DECL(type)=type \
     490    VMMRZ_INT_DECL(type)=type
     491
     492# templated fun.
     493PREDEFINED += \
     494    "PGM_BTH_DECL(type,name)=type pgmBth##name" \
     495    "PGM_SHW_DECL(type,name)=type pgmShw##name" \
     496    "PGM_GST_DECL(type,name)=type pgmGst##name" \
     497    "PGM_BTH_NAME(name)=pgmBth##name" \
     498    "PGM_SHW_NAME(name)=pgmShw##name" \
     499    "PGM_GST_NAME(name)=pgmGst##name" \
     500    PGM_ALL_CB_DECL(type)=type \
     501    PGM_ALL_CB2_DECL(type)=type \
    487502
    488503# context hacks.
  • trunk/include/VBox/VBoxGuest.h

    r58111 r58116  
    4444
    4545/** @defgroup grp_vboxguest_ioc  VirtualBox Guest Additions Driver Interface
    46  * @addtogroup grp_vboxguest
    4746 * @{
    4847 */
  • trunk/include/VBox/vmm/pdmdev.h

    r58106 r58116  
    6464 *                      expected to be in high demand in the constructor and is
    6565 *                      therefore passed as an argument.  When using it at other
    66  *                      times, it can be found in pDrvIns->pCfg.
     66 *                      times, it can be found in pDevIns->pCfg.
    6767 */
    6868typedef DECLCALLBACK(int)   FNPDMDEVCONSTRUCT(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfg);
     
    14991499     * @param   pDevIns         The APIC device instance.
    15001500     * @param   idCpu           Virtual CPU to perform SIPI on
    1501      * @param   iVector         SIPI vector
     1501     * @param   uVector         SIPI vector
    15021502     */
    15031503    DECLR3CALLBACKMEMBER(void,    pfnSendSipi,(PPDMDEVINS pDevIns, VMCPUID idCpu, uint32_t uVector));
     
    19141914     * @returns rc if we failed to set legacy mode.
    19151915     * @param   pDevIns         Device instance of the HPET.
    1916      * @param   fActivate       Activate or deactivate legacy mode.
     1916     * @param   iIrq            IRQ number to set.
     1917     * @param   iLevel          IRQ level. See the PDM_IRQ_LEVEL_* \#defines.
    19171918     */
    19181919    DECLR3CALLBACKMEMBER(int, pfnSetIrq,(PPDMDEVINS pDevIns, int iIrq, int iLevel));
     
    37733774     *
    37743775     * @returns rc.
    3775      * @param   pDrvIns         Driver instance.
     3776     * @param   pDevIns         Driver instance.
    37763777     * @param   rc              VBox status code.
    37773778     * @param   SRC_POS         Use RT_SRC_POS.
     
    37863787     *
    37873788     * @returns rc.
    3788      * @param   pDrvIns         Driver instance.
     3789     * @param   pDevIns         Driver instance.
    37893790     * @param   rc              VBox status code.
    37903791     * @param   SRC_POS         Use RT_SRC_POS.
     
    40024003     *
    40034004     * @returns rc.
    4004      * @param   pDrvIns         Driver instance.
     4005     * @param   pDevIns         Driver instance.
    40054006     * @param   rc              VBox status code.
    40064007     * @param   SRC_POS         Use RT_SRC_POS.
     
    40154016     *
    40164017     * @returns rc.
    4017      * @param   pDrvIns         Driver instance.
     4018     * @param   pDevIns         Driver instance.
    40184019     * @param   rc              VBox status code.
    40194020     * @param   SRC_POS         Use RT_SRC_POS.
  • trunk/src/VBox/VMM/VMMAll/CPUMAllMsrs.cpp

    r57558 r58116  
    363363
    364364
    365 /** @callback_method_impl{FNCPUMWRMSR} */
     365/** @callback_method_impl{FNCPUMRDMSR} */
    366366static DECLCALLBACK(VBOXSTRICTRC) cpumMsrRd_Ia32MtrrCap(PVMCPU pVCpu, uint32_t idMsr, PCCPUMMSRRANGE pRange, uint64_t *puValue)
    367367{
  • trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp

    r57856 r58116  
    320320
    321321
    322 /** @MAYBE_LOAD_DRx
     322/** @def MAYBE_LOAD_DRx
    323323 * Macro for updating DRx values in raw-mode and ring-0 contexts.
    324324 */
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r57860 r58116  
    14921492                {
    14931493                    AssertMsgFailed(("Illegal enabling of paging with CS.u1Long = 1!!\n"));
    1494                     return VERR_EM_INTERPRETER; /** @todo generate #GP(0) */
     1494                    return VERR_EM_INTERPRETER; /** @todo generate \#GP(0) */
    14951495                }
    14961496
     
    14991499                {
    15001500                    AssertMsgFailed(("Illegal enabling of paging with PAE disabled!!\n"));
    1501                     return VERR_EM_INTERPRETER; /** @todo generate #GP(0) */
     1501                    return VERR_EM_INTERPRETER; /** @todo generate \#GP(0) */
    15021502                }
    15031503                msrEFER |= MSR_K6_EFER_LMA;
     
    15411541            &&  !(val & X86_CR4_PAE))
    15421542        {
    1543             return VERR_EM_INTERPRETER; /** @todo generate #GP(0) */
     1543            return VERR_EM_INTERPRETER; /** @todo generate \#GP(0) */
    15441544        }
    15451545
     
    15591559        {
    15601560            Log(("Trying to set reserved CR4 bits: NewCR4=%#llx InvalidBits=%#llx\n", val, val & ~(uint64_t)fValid));
    1561             return VERR_EM_INTERPRETER; /** @todo generate #GP(0) */
     1561            return VERR_EM_INTERPRETER; /** @todo generate \#GP(0) */
    15621562        }
    15631563
  • trunk/src/VBox/VMM/VMMAll/GIMAll.cpp

    r57989 r58116  
    142142
    143143/**
    144  * Whether #UD exceptions in the guest needs to be intercepted by the GIM
     144 * Whether \#UD exceptions in the guest needs to be intercepted by the GIM
    145145 * provider.
    146146 *
     
    174174
    175175/**
    176  * Exception handler for #UD when requested by the GIM provider.
     176 * Exception handler for \#UD when requested by the GIM provider.
    177177 *
    178178 * @param   pVCpu       Pointer to the VMCPU.
  • trunk/src/VBox/VMM/VMMAll/GIMAllHv.cpp

    r58074 r58116  
    688688
    689689/**
    690  * Whether we need to trap #UD exceptions in the guest.
    691  *
    692  * We only need to trap #UD exceptions for raw-mode guests when hypercalls are
     690 * Whether we need to trap \#UD exceptions in the guest.
     691 *
     692 * We only need to trap \#UD exceptions for raw-mode guests when hypercalls are
    693693 * enabled. For HM VMs, the hypercall would be handled via the
    694694 * VMCALL/VMMCALL VM-exit.
     
    707707
    708708/**
    709  * Exception handler for #UD.
     709 * Exception handler for \#UD.
    710710 *
    711711 * @param   pVCpu       Pointer to the VMCPU.
  • trunk/src/VBox/VMM/VMMAll/GIMAllKvm.cpp

    r57989 r58116  
    324324
    325325/**
    326  * Whether we need to trap #UD exceptions in the guest.
     326 * Whether we need to trap \#UD exceptions in the guest.
    327327 *
    328328 * On AMD-V we need to trap them because paravirtualized Linux/KVM guests use
     
    333333 * I guess this was done so that guest teleporation between an AMD and an Intel
    334334 * machine would working without any changes at the time of teleporation.
    335  * However, this also means we -always- need to intercept #UD exceptions on one
     335 * However, this also means we -always- need to intercept \#UD exceptions on one
    336336 * of the two CPU models (Intel or AMD). Hyper-V solves this problem more
    337337 * elegantly by letting the hypervisor supply an opaque hypercall page.
     
    349349
    350350/**
    351  * Exception handler for #UD.
     351 * Exception handler for \#UD.
    352352 *
    353353 * @param   pVCpu       Pointer to the VMCPU.
  • trunk/src/VBox/VMM/VMMAll/HMAll.cpp

    r57482 r58116  
    532532
    533533/**
    534  * Notifies HM that GIM provider wants to trap #UD.
     534 * Notifies HM that GIM provider wants to trap \#UD.
    535535 *
    536536 * @param   pVCpu   Pointer to the VMCPU.
     
    544544
    545545/**
    546  * Notifies HM that GIM provider no longer wants to trap #UD.
     546 * Notifies HM that GIM provider no longer wants to trap \#UD.
    547547 *
    548548 * @param   pVCpu   Pointer to the VMCPU.
  • trunk/src/VBox/VMM/VMMAll/IEMAll.cpp

    r57432 r58116  
    7474 * Use for pitting IEM against EM or something else in ring-0 or raw-mode
    7575 * context. */
    76 //#define IEM_VERIFICATION_MODE_MINIMAL
     76#if defined(DOXYGEN_RUNNING)
     77# define IEM_VERIFICATION_MODE_MINIMAL
     78#endif
    7779//#define IEM_LOG_MEMORY_WRITES
    7880#define IEM_IMPLEMENTS_TASKSWITCH
     
    12851287 * on failure.
    12861288 *
    1287  * @param   pi8                 Where to return the signed byte.
     1289 * @param   a_pi8               Where to return the signed byte.
    12881290 * @remark Implicitly references pIemCpu.
    12891291 */
     
    13381340 * a word, returning automatically on failure.
    13391341 *
    1340  * @param   pu16                Where to return the word.
     1342 * @param   a_pu16              Where to return the word.
    13411343 * @remark Implicitly references pIemCpu.
    13421344 */
     
    13911393 * a word, returning automatically on failure.
    13921394 *
    1393  * @param   pu32                Where to return the word.
     1395 * @param   a_pu32              Where to return the word.
    13941396 * @remark Implicitly references pIemCpu.
    13951397 */
     
    14441446 * a word, returning automatically on failure.
    14451447 *
    1446  * @param   pu64                Where to return the word.
     1448 * @param   a_pu64              Where to return the word.
    14471449 * @remark Implicitly references pIemCpu.
    14481450 */
     
    16431645 * on failure.
    16441646 *
    1645  * @param   pi16                Where to return the signed word.
     1647 * @param   a_pi16              Where to return the signed word.
    16461648 * @remark Implicitly references pIemCpu.
    16471649 */
     
    17961798 * automatically on failure.
    17971799 *
    1798  * @param   pi32                Where to return the signed double word.
     1800 * @param   a_pi32              Where to return the signed double word.
    17991801 * @remark Implicitly references pIemCpu.
    18001802 */
     
    20382040 * @param   a_pIemCpu           The IEM per CPU data.
    20392041 * @param   a_pCtx              The CPU context.
     2042 * @param   a_fEfl              The new EFLAGS.
    20402043 */
    20412044#ifdef VBOX_WITH_RAW_MODE_NOT_R0
     
    92889291    } while (0)
    92899292
    9290 /** The instruction allows no lock prefixing (in this encoding), throw #UD if
     9293/** The instruction allows no lock prefixing (in this encoding), throw \#UD if
    92919294 * lock prefixed.
    92929295 * @deprecated  IEMOP_HLP_DONE_DECODING_NO_LOCK_PREFIX */
     
    92989301    } while (0)
    92999302
    9300 /** The instruction is not available in 64-bit mode, throw #UD if we're in
     9303/** The instruction is not available in 64-bit mode, throw \#UD if we're in
    93019304 * 64-bit mode. */
    93029305#define IEMOP_HLP_NO_64BIT() \
     
    93079310    } while (0)
    93089311
    9309 /** The instruction is only available in 64-bit mode, throw #UD if we're not in
     9312/** The instruction is only available in 64-bit mode, throw \#UD if we're not in
    93109313 * 64-bit mode. */
    93119314#define IEMOP_HLP_ONLY_64BIT() \
  • trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp

    r57860 r58116  
    5555 * IEM deployment step. */
    5656#if  ((defined(IN_RING3) || defined(IN_RING0)) && defined(VBOX_WITH_2ND_IEM_STEP)) \
    57   || defined(VBOX_WITH_3RD_IEM_STEP)
     57  || defined(VBOX_WITH_3RD_IEM_STEP) || defined(DOXYGEN_RUNNING)
    5858# define IEM_USE_IEM_INSTEAD
    5959#endif
  • trunk/src/VBox/VMM/VMMAll/PDMAllCritSect.cpp

    r57358 r58116  
    8787 * @param   pCritSect       The critical section.
    8888 * @param   hNativeSelf     The native handle of this thread.
     89 * @param   pSrcPos         The source position of the lock operation.
    8990 */
    9091DECL_FORCE_INLINE(int) pdmCritSectEnterFirst(PPDMCRITSECT pCritSect, RTNATIVETHREAD hNativeSelf, PCRTLOCKVALSRCPOS pSrcPos)
     
    117118 * @param   pCritSect           The critsect.
    118119 * @param   hNativeSelf         The native thread handle.
     120 * @param   pSrcPos             The source position of the lock operation.
    119121 */
    120122static int pdmR3R0CritSectEnterContended(PPDMCRITSECT pCritSect, RTNATIVETHREAD hNativeSelf, PCRTLOCKVALSRCPOS pSrcPos)
     
    211213 * @param   pCritSect           The PDM critical section to enter.
    212214 * @param   rcBusy              The status code to return when we're in GC or R0
    213  *                              and the section is busy.
     215 * @param   pSrcPos             The source position of the lock operation.
    214216 */
    215217DECL_FORCE_INLINE(int) pdmCritSectEnter(PPDMCRITSECT pCritSect, int rcBusy, PCRTLOCKVALSRCPOS pSrcPos)
     
    379381 * @param   uId                 Some kind of locking location ID.  Typically a
    380382 *                              return address up the stack.  Optional (0).
    381  * @param   pszFile             The file where the lock is being acquired from.
    382  *                              Optional.
    383  * @param   iLine               The line number in that file.  Optional (0).
    384  * @param   pszFunction         The function where the lock is being acquired
    385  *                              from.  Optional.
     383 * @param   SRC_POS             The source position where to lock is being
     384 *                              acquired from.  Optional.
    386385 */
    387386VMMDECL(int) PDMCritSectEnterDebug(PPDMCRITSECT pCritSect, int rcBusy, RTHCUINTPTR uId, RT_SRC_POS_DECL)
     
    407406 *
    408407 * @param   pCritSect   The critical section.
     408 * @param   pSrcPos     The source position of the lock operation.
    409409 */
    410410static int pdmCritSectTryEnter(PPDMCRITSECT pCritSect, PCRTLOCKVALSRCPOS pSrcPos)
     
    487487 * @param   uId                 Some kind of locking location ID.  Typically a
    488488 *                              return address up the stack.  Optional (0).
    489  * @param   pszFile             The file where the lock is being acquired from.
    490  *                              Optional.
    491  * @param   iLine               The line number in that file.  Optional (0).
    492  * @param   pszFunction         The function where the lock is being acquired
    493  *                              from.  Optional.
     489 * @param   SRC_POS             The source position where to lock is being
     490 *                              acquired from.  Optional.
    494491 */
    495492VMMDECL(int) PDMCritSectTryEnterDebug(PPDMCRITSECT pCritSect, RTHCUINTPTR uId, RT_SRC_POS_DECL)
  • trunk/src/VBox/VMM/VMMAll/PDMAllCritSectRw.cpp

    r57851 r58116  
    408408 * @returns VBox status code.
    409409 * @retval  VINF_SUCCESS on success.
    410  * @retval  @a rcBusy if in ring-0 or raw-mode context and it is busy.
     410 * @retval  rcBusy if in ring-0 or raw-mode context and it is busy.
    411411 * @retval  VERR_SEM_NESTED if nested enter on a no nesting section. (Asserted.)
    412412 * @retval  VERR_SEM_DESTROYED if the critical section is delete before or
     
    418418 *                      critical section thru a ring-3 call if necessary.
    419419 * @param   uId         Where we're entering the section.
    420  * @param   pszFile     The source position - file.
    421  * @param   iLine       The source position - line.
    422  * @param   pszFunction The source position - function.
    423420 * @sa      PDMCritSectRwEnterSharedDebug, PDMCritSectRwTryEnterShared,
    424421 *          PDMCritSectRwTryEnterSharedDebug, PDMCritSectRwLeaveShared,
     
    451448 *                      critical section thru a ring-3 call if necessary.
    452449 * @param   uId         Where we're entering the section.
    453  * @param   pszFile     The source position - file.
    454  * @param   iLine       The source position - line.
    455  * @param   pszFunction The source position - function.
     450 * @param   SRC_POS     The source position.
    456451 * @sa      PDMCritSectRwEnterShared, PDMCritSectRwTryEnterShared,
    457452 *          PDMCritSectRwTryEnterSharedDebug, PDMCritSectRwLeaveShared,
     
    482477 * @param   pThis       Pointer to the read/write critical section.
    483478 * @param   uId         Where we're entering the section.
    484  * @param   pszFile     The source position - file.
    485  * @param   iLine       The source position - line.
    486  * @param   pszFunction The source position - function.
     479 * @param   SRC_POS     The source position.
    487480 * @sa      PDMCritSectRwTryEnterSharedDebug, PDMCritSectRwEnterShared,
    488481 *          PDMCritSectRwEnterSharedDebug, PDMCritSectRwLeaveShared,
     
    512505 * @param   pThis       Pointer to the read/write critical section.
    513506 * @param   uId         Where we're entering the section.
    514  * @param   pszFile     The source position - file.
    515  * @param   iLine       The source position - line.
    516  * @param   pszFunction The source position - function.
     507 * @param   SRC_POS     The source position.
    517508 * @sa      PDMCritSectRwTryEnterShared, PDMCritSectRwEnterShared,
    518509 *          PDMCritSectRwEnterSharedDebug, PDMCritSectRwLeaveShared,
     
    961952 * @returns VBox status code.
    962953 * @retval  VINF_SUCCESS on success.
    963  * @retval  @a rcBusy if in ring-0 or raw-mode context and it is busy.
     954 * @retval  rcBusy if in ring-0 or raw-mode context and it is busy.
    964955 * @retval  VERR_SEM_NESTED if nested enter on a no nesting section. (Asserted.)
    965956 * @retval  VERR_SEM_DESTROYED if the critical section is delete before or
     
    991982 * @returns VBox status code.
    992983 * @retval  VINF_SUCCESS on success.
    993  * @retval  @a rcBusy if in ring-0 or raw-mode context and it is busy.
     984 * @retval  rcBusy if in ring-0 or raw-mode context and it is busy.
    994985 * @retval  VERR_SEM_NESTED if nested enter on a no nesting section. (Asserted.)
    995986 * @retval  VERR_SEM_DESTROYED if the critical section is delete before or
     
    1001992 *                      critical section thru a ring-3 call if necessary.
    1002993 * @param   uId         Where we're entering the section.
    1003  * @param   pszFile     The source position - file.
    1004  * @param   iLine       The source position - line.
    1005  * @param   pszFunction The source position - function.
     994 * @param   SRC_POS     The source position.
    1006995 * @sa      PDMCritSectRwEnterExcl, PDMCritSectRwTryEnterExcl,
    1007996 *          PDMCritSectRwTryEnterExclDebug,
     
    10581047 * @param   pThis       Pointer to the read/write critical section.
    10591048 * @param   uId         Where we're entering the section.
    1060  * @param   pszFile     The source position - file.
    1061  * @param   iLine       The source position - line.
    1062  * @param   pszFunction The source position - function.
     1049 * @param   SRC_POS     The source position.
    10631050 * @sa      PDMCritSectRwTryEnterExcl, PDMCritSectRwEnterExcl,
    10641051 *          PDMCritSectRwEnterExclDebug,
     
    12741261 * Checks the caller is the exclusive (write) owner of the critical section.
    12751262 *
    1276  * @retval  @c true if owner.
    1277  * @retval  @c false if not owner.
     1263 * @retval  true if owner.
     1264 * @retval  false if not owner.
    12781265 * @param   pThis       Pointer to the read/write critical section.
    12791266 * @sa      PDMCritSectRwIsReadOwner, PDMCritSectIsOwner,
     
    14421429 * Checks if the read/write critical section is initialized or not.
    14431430 *
    1444  * @retval  @c true if initialized.
    1445  * @retval  @c false if not initialized.
     1431 * @retval  true if initialized.
     1432 * @retval  false if not initialized.
    14461433 * @param   pThis       Pointer to the read/write critical section.
    14471434 * @sa      PDMCritSectIsInitialized, RTCritSectRwIsInitialized.
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r57853 r58116  
    439439
    440440/**
    441  * #PF Handler for raw-mode guest execution.
     441 * \#PF Handler for raw-mode guest execution.
    442442 *
    443443 * @returns VBox status code (appropriate for trap handling and GC return).
  • trunk/src/VBox/VMM/VMMAll/TMAllVirtual.cpp

    r57411 r58116  
    4444
    4545/**
    46  * @interface_method_impl{RTTIMENANOTSDATA, pfnBadPrev}
    47  */
    48 DECLCALLBACK(DECLEXPORT(void)) tmVirtualNanoTSBadPrev(PRTTIMENANOTSDATA pData, uint64_t u64NanoTS, uint64_t u64DeltaPrev,
    49                                                       uint64_t u64PrevNanoTS)
     46 * @interface_method_impl{RTTIMENANOTSDATA,pfnBad}
     47 */
     48DECLCALLBACK(DECLEXPORT(void)) tmVirtualNanoTSBad(PRTTIMENANOTSDATA pData, uint64_t u64NanoTS, uint64_t u64DeltaPrev,
     49                                                  uint64_t u64PrevNanoTS)
    5050{
    5151    PVM pVM = RT_FROM_MEMBER(pData, VM, CTX_SUFF(tm.s.VirtualGetRawData));
     
    6161
    6262/**
    63  * @interface_method_impl{RTTIMENANOTSDATA, pfnRediscover}
     63 * @interface_method_impl{RTTIMENANOTSDATA,pfnRediscover}
    6464 *
    6565 * This is the initial worker, so the first call in each context ends up here.
     
    137137
    138138/**
    139  * @interface_method_impl{RTTIMENANOTSDATA, pfnBadGipIndex}
     139 * @interface_method_impl{RTTIMENANOTSDATA,pfnBadCpuIndex}
    140140 */
    141141DECLEXPORT(uint64_t) tmVirtualNanoTSBadCpuIndex(PRTTIMENANOTSDATA pData, uint16_t idApic, uint16_t iCpuSet, uint16_t iGipCpu)
  • trunk/src/VBox/VMM/VMMAll/TRPMAll.cpp

    r57358 r58116  
    176176/**
    177177 * Gets the instruction-length for the current trap (only relevant for software
    178  * interrupts and software exceptions #BP and #OF).
     178 * interrupts and software exceptions \#BP and \#OF).
    179179 *
    180180 * The caller is responsible for making sure there is an active trap 0x0e when
     
    318318
    319319/**
    320  * Sets the fault address of the current #PF trap. (This function is for use in
     320 * Sets the fault address of the current \#PF trap. (This function is for use in
    321321 * trap handlers and such.)
    322322 *
     
    338338/**
    339339 * Sets the instruction-length of the current trap (relevant for software
    340  * interrupts and software exceptions like #BP, #OF).
     340 * interrupts and software exceptions like \#BP, \#OF).
    341341 *
    342342 * The caller is responsible for making sure there is an active trap 0e
  • trunk/src/VBox/VMM/VMMAll/VMAll.cpp

    r57358 r58116  
    4444 * @param   pVM             Pointer to the VM. Must be non-NULL.
    4545 * @param   rc              VBox status code.
    46  * @param   RT_SRC_POS_DECL Use RT_SRC_POS.
     46 * @param   SRC_POS        Use RT_SRC_POS.
    4747 * @param   pszFormat       Error message format string.
    4848 * @param   ...             Error message arguments.
     
    6868 * @param   pVM             Pointer to the VM. Must be non-NULL.
    6969 * @param   rc              VBox status code.
    70  * @param   RT_SRC_POS_DECL Use RT_SRC_POS.
     70 * @param   SRC_POS        Use RT_SRC_POS.
    7171 * @param   pszFormat       Error message format string.
    7272 * @param   args            Error message arguments.
     
    105105 * @param   pVM             Pointer to the VM. Must be non-NULL.
    106106 * @param   rc              VBox status code.
    107  * @param   RT_SRC_POS_DECL Use RT_SRC_POS.
     107 * @param   SRC_POS        Use RT_SRC_POS.
    108108 * @param   pszFormat       Error message format string.
    109109 * @param   args            Error message arguments.
  • trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp

    r57558 r58116  
    321321
    322322/**
    323  * Trap handler for device-not-available fault (#NM).
     323 * Trap handler for device-not-available fault (\#NM).
    324324 * Device not available, FP or (F)WAIT instruction.
    325325 *
  • trunk/src/VBox/VMM/VMMR0/GMMR0.cpp

    r57858 r58116  
    522522
    523523    /** The maximum number of pages we're allowed to allocate.
    524      * @gcfgm   64-bit GMM/MaxPages Direct.
    525      * @gcfgm   32-bit GMM/PctPages Relative to the number of host pages. */
     524     * @gcfgm{GMM/MaxPages,64-bit, Direct.}
     525     * @gcfgm{GMM/PctPages,32-bit, Relative to the number of host pages.} */
    526526    uint64_t            cMaxPages;
    527527    /** The number of pages that has been reserved.
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r58014 r58116  
    191191 *
    192192 * A state structure for holding miscellaneous information across AMD-V
    193  * VMRUN/#VMEXIT operation, restored after the transition.
     193 * VMRUN/\#VMEXIT operation, restored after the transition.
    194194 *
    195195 * @{ */
     
    202202#endif
    203203
    204     /** The #VMEXIT exit code (the EXITCODE field in the VMCB). */
     204    /** The \#VMEXIT exit code (the EXITCODE field in the VMCB). */
    205205    uint64_t        u64ExitCode;
    206206    /** The guest's TPR value used for TPR shadowing. */
     
    209209    uint8_t         abAlignment0[7];
    210210
    211     /** Whether the guest FPU state was active at the time of #VMEXIT. */
     211    /** Whether the guest FPU state was active at the time of \#VMEXIT. */
    212212    bool            fWasGuestFPUStateActive;
    213     /** Whether the guest debug state was active at the time of #VMEXIT. */
     213    /** Whether the guest debug state was active at the time of \#VMEXIT. */
    214214    bool            fWasGuestDebugStateActive;
    215     /** Whether the hyper debug state was active at the time of #VMEXIT. */
     215    /** Whether the hyper debug state was active at the time of \#VMEXIT. */
    216216    bool            fWasHyperDebugStateActive;
    217217    /** Whether the TSC offset mode needs to be updated. */
    218218    bool            fUpdateTscOffsetting;
    219     /** Whether the TSC_AUX MSR needs restoring on #VMEXIT. */
     219    /** Whether the TSC_AUX MSR needs restoring on \#VMEXIT. */
    220220    bool            fRestoreTscAuxMsr;
    221     /** Whether the #VMEXIT was caused by a page-fault during delivery of a
     221    /** Whether the \#VMEXIT was caused by a page-fault during delivery of a
    222222     *  contributary exception or a page-fault. */
    223223    bool            fVectoringDoublePF;
    224     /** Whether the #VMEXIT was caused by a page-fault during delivery of an
     224    /** Whether the \#VMEXIT was caused by a page-fault during delivery of an
    225225     *  external interrupt or NMI. */
    226226    bool            fVectoringPF;
     
    235235typedef enum SVMMSREXITREAD
    236236{
    237     /** Reading this MSR causes a #VMEXIT. */
     237    /** Reading this MSR causes a \#VMEXIT. */
    238238    SVMMSREXIT_INTERCEPT_READ = 0xb,
    239     /** Reading this MSR does not cause a #VMEXIT. */
     239    /** Reading this MSR does not cause a \#VMEXIT. */
    240240    SVMMSREXIT_PASSTHRU_READ
    241241} SVMMSREXITREAD;
     
    246246typedef enum SVMMSREXITWRITE
    247247{
    248     /** Writing to this MSR causes a #VMEXIT. */
     248    /** Writing to this MSR causes a \#VMEXIT. */
    249249    SVMMSREXIT_INTERCEPT_WRITE = 0xd,
    250     /** Writing to this MSR does not cause a #VMEXIT. */
     250    /** Writing to this MSR does not cause a \#VMEXIT. */
    251251    SVMMSREXIT_PASSTHRU_WRITE
    252252} SVMMSREXITWRITE;
    253253
    254254/**
    255  * SVM #VMEXIT handler.
     255 * SVM \#VMEXIT handler.
    256256 *
    257257 * @returns VBox status code.
     
    270270static void hmR0SvmLeave(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx);
    271271
    272 /** @name #VMEXIT handlers.
     272/** @name \#VMEXIT handlers.
    273273 * @{
    274274 */
     
    869869 * Flushes the appropriate tagged-TLB entries.
    870870 *
    871  * @param    pVM        Pointer to the VM.
    872871 * @param    pVCpu      Pointer to the VMCPU.
    873872 */
     
    25592558/**
    25602559 * Sets the virtual interrupt intercept control in the VMCB which
    2561  * instructs AMD-V to cause a #VMEXIT as soon as the guest is in a state to
     2560 * instructs AMD-V to cause a \#VMEXIT as soon as the guest is in a state to
    25622561 * receive interrupts.
    25632562 *
     
    25802579/**
    25812580 * Sets the IRET intercept control in the VMCB which instructs AMD-V to cause a
    2582  * #VMEXIT as soon as a guest starts executing an IRET. This is used to unblock
     2581 * \#VMEXIT as soon as a guest starts executing an IRET. This is used to unblock
    25832582 * virtual NMIs.
    25842583 *
     
    34933492
    34943493/**
    3495  * Handles a #VMEXIT (for all EXITCODE values except SVM_EXIT_INVALID).
     3494 * Handles a \#VMEXIT (for all EXITCODE values except SVM_EXIT_INVALID).
    34963495 *
    34973496 * @returns VBox status code (informational status codes included).
     
    38063805 *
    38073806 * @param   pVM         Pointer to the VM.
     3807 * @param   pVCpu       Pointer to the VMCPU.
    38083808 * @param   pCtx        The guest CPU context.
    38093809 *
     
    38333833
    38343834/**
    3835  * Sets an invalid-opcode (#UD) exception as pending-for-injection into the VM.
     3835 * Sets an invalid-opcode (\#UD) exception as pending-for-injection into the VM.
    38363836 *
    38373837 * @param   pVCpu       Pointer to the VMCPU.
     
    38493849
    38503850/**
    3851  * Sets a debug (#DB) exception as pending-for-injection into the VM.
     3851 * Sets a debug (\#DB) exception as pending-for-injection into the VM.
    38523852 *
    38533853 * @param   pVCpu       Pointer to the VMCPU.
     
    38653865
    38663866/**
    3867  * Sets a page fault (#PF) exception as pending-for-injection into the VM.
     3867 * Sets a page fault (\#PF) exception as pending-for-injection into the VM.
    38683868 *
    38693869 * @param   pVCpu           Pointer to the VMCPU.
     
    38963896
    38973897/**
    3898  * Sets a device-not-available (#NM) exception as pending-for-injection into the
    3899  * VM.
     3898 * Sets a device-not-available (\#NM) exception as pending-for-injection into
     3899 * the VM.
    39003900 *
    39013901 * @param   pVCpu       Pointer to the VMCPU.
     
    39133913
    39143914/**
    3915  * Sets a math-fault (#MF) exception as pending-for-injection into the VM.
     3915 * Sets a math-fault (\#MF) exception as pending-for-injection into the VM.
    39163916 *
    39173917 * @param   pVCpu       Pointer to the VMCPU.
     
    39293929
    39303930/**
    3931  * Sets a double fault (#DF) exception as pending-for-injection into the VM.
     3931 * Sets a double fault (\#DF) exception as pending-for-injection into the VM.
    39323932 *
    39333933 * @param   pVCpu       Pointer to the VMCPU.
     
    40614061 *
    40624062 * @returns VBox status code (informational error codes included).
    4063  * @retval VINF_SUCCESS if we should continue handling the #VMEXIT.
    4064  * @retval VINF_HM_DOUBLE_FAULT if a #DF condition was detected and we ought to
    4065  *         continue execution of the guest which will delivery the #DF.
     4063 * @retval VINF_SUCCESS if we should continue handling the \#VMEXIT.
     4064 * @retval VINF_HM_DOUBLE_FAULT if a \#DF condition was detected and we ought to
     4065 *         continue execution of the guest which will delivery the \#DF.
    40664066 * @retval VINF_EM_RESET if we detected a triple-fault condition.
    40674067 *
     
    42064206 * @param   cb          RIP increment value in bytes.
    42074207 *
    4208  * @remarks Use this function only from #VMEXIT's where the NRIP value is valid
     4208 * @remarks Use this function only from \#VMEXIT's where the NRIP value is valid
    42094209 *          when NRIP_SAVE is supported by the CPU!
    42104210 */
     
    42264226/* -=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */
    42274227
    4228 /** @name #VMEXIT handlers.
     4228/** @name \#VMEXIT handlers.
    42294229 * @{
    42304230 */
    42314231
    42324232/**
    4233  * #VMEXIT handler for external interrupts, NMIs, FPU assertion freeze and INIT
     4233 * \#VMEXIT handler for external interrupts, NMIs, FPU assertion freeze and INIT
    42344234 * signals (SVM_EXIT_INTR, SVM_EXIT_NMI, SVM_EXIT_FERR_FREEZE, SVM_EXIT_INIT).
    42354235 */
     
    42564256
    42574257/**
    4258  * #VMEXIT handler for WBINVD (SVM_EXIT_WBINVD). Conditional #VMEXIT.
     4258 * \#VMEXIT handler for WBINVD (SVM_EXIT_WBINVD). Conditional \#VMEXIT.
    42594259 */
    42604260HMSVM_EXIT_DECL hmR0SvmExitWbinvd(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    42714271
    42724272/**
    4273  * #VMEXIT handler for INVD (SVM_EXIT_INVD). Unconditional #VMEXIT.
     4273 * \#VMEXIT handler for INVD (SVM_EXIT_INVD). Unconditional \#VMEXIT.
    42744274 */
    42754275HMSVM_EXIT_DECL hmR0SvmExitInvd(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    42864286
    42874287/**
    4288  * #VMEXIT handler for INVD (SVM_EXIT_CPUID). Conditional #VMEXIT.
     4288 * \#VMEXIT handler for INVD (SVM_EXIT_CPUID). Conditional \#VMEXIT.
    42894289 */
    42904290HMSVM_EXIT_DECL hmR0SvmExitCpuid(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    43094309
    43104310/**
    4311  * #VMEXIT handler for RDTSC (SVM_EXIT_RDTSC). Conditional #VMEXIT.
     4311 * \#VMEXIT handler for RDTSC (SVM_EXIT_RDTSC). Conditional \#VMEXIT.
    43124312 */
    43134313HMSVM_EXIT_DECL hmR0SvmExitRdtsc(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    43354335
    43364336/**
    4337  * #VMEXIT handler for RDTSCP (SVM_EXIT_RDTSCP). Conditional #VMEXIT.
     4337 * \#VMEXIT handler for RDTSCP (SVM_EXIT_RDTSCP). Conditional \#VMEXIT.
    43384338 */
    43394339HMSVM_EXIT_DECL hmR0SvmExitRdtscp(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    43584358
    43594359/**
    4360  * #VMEXIT handler for RDPMC (SVM_EXIT_RDPMC). Conditional #VMEXIT.
     4360 * \#VMEXIT handler for RDPMC (SVM_EXIT_RDPMC). Conditional \#VMEXIT.
    43614361 */
    43624362HMSVM_EXIT_DECL hmR0SvmExitRdpmc(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    43804380
    43814381/**
    4382  * #VMEXIT handler for INVLPG (SVM_EXIT_INVLPG). Conditional #VMEXIT.
     4382 * \#VMEXIT handler for INVLPG (SVM_EXIT_INVLPG). Conditional \#VMEXIT.
    43834383 */
    43844384HMSVM_EXIT_DECL hmR0SvmExitInvlpg(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    43984398
    43994399/**
    4400  * #VMEXIT handler for HLT (SVM_EXIT_HLT). Conditional #VMEXIT.
     4400 * \#VMEXIT handler for HLT (SVM_EXIT_HLT). Conditional \#VMEXIT.
    44014401 */
    44024402HMSVM_EXIT_DECL hmR0SvmExitHlt(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    44154415
    44164416/**
    4417  * #VMEXIT handler for MONITOR (SVM_EXIT_MONITOR). Conditional #VMEXIT.
     4417 * \#VMEXIT handler for MONITOR (SVM_EXIT_MONITOR). Conditional \#VMEXIT.
    44184418 */
    44194419HMSVM_EXIT_DECL hmR0SvmExitMonitor(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    44374437
    44384438/**
    4439  * #VMEXIT handler for MWAIT (SVM_EXIT_MWAIT). Conditional #VMEXIT.
     4439 * \#VMEXIT handler for MWAIT (SVM_EXIT_MWAIT). Conditional \#VMEXIT.
    44404440 */
    44414441HMSVM_EXIT_DECL hmR0SvmExitMwait(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    44694469
    44704470/**
    4471  * #VMEXIT handler for shutdown (triple-fault) (SVM_EXIT_SHUTDOWN).
    4472  * Conditional #VMEXIT.
     4471 * \#VMEXIT handler for shutdown (triple-fault) (SVM_EXIT_SHUTDOWN). Conditional
     4472 * \#VMEXIT.
    44734473 */
    44744474HMSVM_EXIT_DECL hmR0SvmExitShutdown(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    44804480
    44814481/**
    4482  * #VMEXIT handler for CRx reads (SVM_EXIT_READ_CR*). Conditional #VMEXIT.
     4482 * \#VMEXIT handler for CRx reads (SVM_EXIT_READ_CR*). Conditional \#VMEXIT.
    44834483 */
    44844484HMSVM_EXIT_DECL hmR0SvmExitReadCRx(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    45014501
    45024502/**
    4503  * #VMEXIT handler for CRx writes (SVM_EXIT_WRITE_CR*). Conditional #VMEXIT.
     4503 * \#VMEXIT handler for CRx writes (SVM_EXIT_WRITE_CR*). Conditional \#VMEXIT.
    45044504 */
    45054505HMSVM_EXIT_DECL hmR0SvmExitWriteCRx(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    45494549
    45504550/**
    4551  * #VMEXIT handler for instructions that result in a #UD exception delivered to
    4552  * the guest.
     4551 * \#VMEXIT handler for instructions that result in a \#UD exception delivered
     4552 * to the guest.
    45534553 */
    45544554HMSVM_EXIT_DECL hmR0SvmExitSetPendingXcptUD(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    45614561
    45624562/**
    4563  * #VMEXIT handler for MSR read and writes (SVM_EXIT_MSR). Conditional #VMEXIT.
     4563 * \#VMEXIT handler for MSR read and writes (SVM_EXIT_MSR). Conditional
     4564 * \#VMEXIT.
    45644565 */
    45654566HMSVM_EXIT_DECL hmR0SvmExitMsr(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    46634664
    46644665/**
    4665  * #VMEXIT handler for DRx read (SVM_EXIT_READ_DRx). Conditional #VMEXIT.
     4666 * \#VMEXIT handler for DRx read (SVM_EXIT_READ_DRx). Conditional \#VMEXIT.
    46664667 */
    46674668HMSVM_EXIT_DECL hmR0SvmExitReadDRx(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    47274728
    47284729/**
    4729  * #VMEXIT handler for DRx write (SVM_EXIT_WRITE_DRx). Conditional #VMEXIT.
     4730 * \#VMEXIT handler for DRx write (SVM_EXIT_WRITE_DRx). Conditional \#VMEXIT.
    47304731 */
    47314732HMSVM_EXIT_DECL hmR0SvmExitWriteDRx(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    47414742
    47424743/**
    4743  * #VMEXIT handler for XCRx write (SVM_EXIT_XSETBV). Conditional #VMEXIT.
     4744 * \#VMEXIT handler for XCRx write (SVM_EXIT_XSETBV). Conditional \#VMEXIT.
    47444745 */
    47454746HMSVM_EXIT_DECL hmR0SvmExitXsetbv(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    47624763
    47634764/**
    4764  * #VMEXIT handler for I/O instructions (SVM_EXIT_IOIO). Conditional #VMEXIT.
     4765 * \#VMEXIT handler for I/O instructions (SVM_EXIT_IOIO). Conditional \#VMEXIT.
    47654766 */
    47664767HMSVM_EXIT_DECL hmR0SvmExitIOInstr(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    49804981
    49814982/**
    4982  * #VMEXIT handler for Nested Page-faults (SVM_EXIT_NPF). Conditional
    4983  * #VMEXIT.
     4983 * \#VMEXIT handler for Nested Page-faults (SVM_EXIT_NPF). Conditional \#VMEXIT.
    49844984 */
    49854985HMSVM_EXIT_DECL hmR0SvmExitNestedPF(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    50845084
    50855085/**
    5086  * #VMEXIT handler for virtual interrupt (SVM_EXIT_VINTR). Conditional #VMEXIT.
     5086 * \#VMEXIT handler for virtual interrupt (SVM_EXIT_VINTR). Conditional
     5087 * \#VMEXIT.
    50875088 */
    50885089HMSVM_EXIT_DECL hmR0SvmExitVIntr(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    51055106
    51065107/**
    5107  * #VMEXIT handler for task switches (SVM_EXIT_TASK_SWITCH). Conditional #VMEXIT.
     5108 * \#VMEXIT handler for task switches (SVM_EXIT_TASK_SWITCH). Conditional
     5109 * \#VMEXIT.
    51085110 */
    51095111HMSVM_EXIT_DECL hmR0SvmExitTaskSwitch(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    51375139
    51385140/**
    5139  * #VMEXIT handler for VMMCALL (SVM_EXIT_VMMCALL). Conditional #VMEXIT.
     5141 * \#VMEXIT handler for VMMCALL (SVM_EXIT_VMMCALL). Conditional \#VMEXIT.
    51405142 */
    51415143HMSVM_EXIT_DECL hmR0SvmExitVmmCall(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    51755177
    51765178/**
    5177  * #VMEXIT handler for VMMCALL (SVM_EXIT_VMMCALL). Conditional #VMEXIT.
     5179 * \#VMEXIT handler for VMMCALL (SVM_EXIT_VMMCALL). Conditional \#VMEXIT.
    51785180 */
    51795181HMSVM_EXIT_DECL hmR0SvmExitPause(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    51865188
    51875189/**
    5188  * #VMEXIT handler for IRET (SVM_EXIT_IRET). Conditional #VMEXIT.
     5190 * \#VMEXIT handler for IRET (SVM_EXIT_IRET). Conditional \#VMEXIT.
    51895191 */
    51905192HMSVM_EXIT_DECL hmR0SvmExitIret(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    52055207
    52065208/**
    5207  * #VMEXIT handler for page-fault exceptions (SVM_EXIT_EXCEPTION_E). Conditional
    5208  * #VMEXIT.
     5209 * \#VMEXIT handler for page-fault exceptions (SVM_EXIT_EXCEPTION_E).
     5210 * Conditional \#VMEXIT.
    52095211 */
    52105212HMSVM_EXIT_DECL hmR0SvmExitXcptPF(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    53255327
    53265328/**
    5327  * #VMEXIT handler for device-not-available exceptions (SVM_EXIT_EXCEPTION_7).
    5328  * Conditional #VMEXIT.
     5329 * \#VMEXIT handler for device-not-available exceptions (SVM_EXIT_EXCEPTION_7).
     5330 * Conditional \#VMEXIT.
    53295331 */
    53305332HMSVM_EXIT_DECL hmR0SvmExitXcptNM(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    53765378
    53775379/**
    5378  * #VMEXIT handler for undefined opcode (SVM_EXIT_EXCEPTION_6).
    5379  * Conditional #VMEXIT.
     5380 * \#VMEXIT handler for undefined opcode (SVM_EXIT_EXCEPTION_6). Conditional
     5381 * \#VMEXIT.
    53805382 */
    53815383HMSVM_EXIT_DECL hmR0SvmExitXcptUD(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    53965398
    53975399/**
    5398  * #VMEXIT handler for math-fault exceptions (SVM_EXIT_EXCEPTION_10).
    5399  * Conditional #VMEXIT.
     5400 * \#VMEXIT handler for math-fault exceptions (SVM_EXIT_EXCEPTION_10).
     5401 * Conditional \#VMEXIT.
    54005402 */
    54015403HMSVM_EXIT_DECL hmR0SvmExitXcptMF(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
     
    54315433
    54325434/**
    5433  * #VMEXIT handler for debug exceptions (SVM_EXIT_EXCEPTION_1). Conditional
    5434  * #VMEXIT.
     5435 * \#VMEXIT handler for debug exceptions (SVM_EXIT_EXCEPTION_1). Conditional
     5436 * \#VMEXIT.
    54355437 */
    54365438HMSVM_EXIT_DECL hmR0SvmExitXcptDB(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMTRANSIENT pSvmTransient)
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r58014 r58116  
    138138 *
    139139 * We need to intercept all exceptions manually except:
    140  * - #NM, #MF handled in hmR0VmxLoadSharedCR0().
    141  * - #DB handled in hmR0VmxLoadSharedDebugState().
    142  * - #PF need not be intercepted even in real-mode if we have Nested Paging
     140 * - \#NM, \#MF handled in hmR0VmxLoadSharedCR0().
     141 * - \#DB handled in hmR0VmxLoadSharedDebugState().
     142 * - \#PF need not be intercepted even in real-mode if we have Nested Paging
    143143 * support.
    144144 */
     
    22972297 * @returns VBox status code.
    22982298 * @param   pVM         Pointer to the VM.
    2299  * @param   pVMCPU      Pointer to the VMCPU.
     2299 * @param   pVCpu       Pointer to the VMCPU.
    23002300 */
    23012301static int hmR0VmxSetupProcCtls(PVM pVM, PVMCPU pVCpu)
     
    32093209 *
    32103210 * @returns VBox status code.
    3211  * @param   pVM         Pointer to the VM.
    32123211 * @param   pVCpu       Pointer to the VMCPU.
    32133212 * @param   pMixedCtx   Pointer to the guest-CPU context. The data may be
     
    32913290 *
    32923291 * @returns VBox status code.
    3293  * @param   pVM         Pointer to the VM.
    32943292 * @param   pVCpu       Pointer to the VMCPU.
    32953293 * @param   pMixedCtx   Pointer to the guest-CPU context. The data may be
     
    35833581 *
    35843582 * @returns VBox status code.
    3585  * @param   pVM         Pointer to the VM.
    35863583 * @param   pVCpu       Pointer to the VMCPU.
    35873584 * @param   pMixedCtx   Pointer to the guest-CPU context. The data may be
     
    37743771 *
    37753772 * @returns VBox status code.
    3776  * @param   pVM         Pointer to the VM.
    37773773 * @param   pVCpu       Pointer to the VMCPU.
    37783774 * @param   pMixedCtx   Pointer to the guest-CPU context. The data may be
     
    43784374 *
    43794375 * @returns VBox status code.
    4380  * @param   pVM         Pointer to the VM.
    43814376 * @param   pVCPU       Pointer to the VMCPU.
    43824377 * @param   pMixedCtx   Pointer to the guest-CPU context. The data may be
     
    47124707 * @remarks No-long-jump zone!!!
    47134708 */
    4714 static int hmR0VmxLoadGuestActivityState(PVMCPU pVCpu, PCPUMCTX pCtx)
    4715 {
    4716     NOREF(pCtx);
     4709static int hmR0VmxLoadGuestActivityState(PVMCPU pVCpu, PCPUMCTX pMixedCtx)
     4710{
     4711    NOREF(pMixedCtx);
    47174712    /** @todo See if we can make use of other states, e.g.
    47184713     *        VMX_VMCS_GUEST_ACTIVITY_SHUTDOWN or HLT.  */
     
    55765571
    55775572/**
    5578  * Sets a double-fault (#DF) exception as pending-for-injection into the VM.
     5573 * Sets a double-fault (\#DF) exception as pending-for-injection into the VM.
    55795574 *
    55805575 * @param   pVCpu           Pointer to the VMCPU.
     
    55995594 * @returns VBox status code (informational error codes included).
    56005595 * @retval VINF_SUCCESS if we should continue handling the VM-exit.
    5601  * @retval VINF_HM_DOUBLE_FAULT if a #DF condition was detected and we ought to
    5602  *         continue execution of the guest which will delivery the #DF.
     5596 * @retval VINF_HM_DOUBLE_FAULT if a \#DF condition was detected and we ought to
     5597 *         continue execution of the guest which will delivery the \#DF.
    56035598 * @retval VINF_EM_RESET if we detected a triple-fault condition.
    56045599 *
     
    75287523
    75297524/**
    7530  * Sets an invalid-opcode (#UD) exception as pending-for-injection into the VM.
     7525 * Sets an invalid-opcode (\#UD) exception as pending-for-injection into the VM.
    75317526 *
    75327527 * @param   pVCpu           Pointer to the VMCPU.
     
    75447539
    75457540/**
    7546  * Injects a double-fault (#DF) exception into the VM.
     7541 * Injects a double-fault (\#DF) exception into the VM.
    75477542 *
    75487543 * @returns VBox status code (informational status code included).
     
    75707565
    75717566/**
    7572  * Sets a debug (#DB) exception as pending-for-injection into the VM.
     7567 * Sets a debug (\#DB) exception as pending-for-injection into the VM.
    75737568 *
    75747569 * @param   pVCpu           Pointer to the VMCPU.
     
    75877582
    75887583/**
    7589  * Sets an overflow (#OF) exception as pending-for-injection into the VM.
     7584 * Sets an overflow (\#OF) exception as pending-for-injection into the VM.
    75907585 *
    75917586 * @param   pVCpu           Pointer to the VMCPU.
     
    76067601
    76077602/**
    7608  * Injects a general-protection (#GP) fault into the VM.
     7603 * Injects a general-protection (\#GP) fault into the VM.
    76097604 *
    76107605 * @returns VBox status code (informational status code included).
     
    76157610 * @param   fErrorCodeValid     Whether the error code is valid (depends on the CPU
    76167611 *                              mode, i.e. in real-mode it's not valid).
    7617  * @param   u32ErrorCode        The error code associated with the #GP.
     7612 * @param   u32ErrorCode        The error code associated with the \#GP.
    76187613 * @param   fStepping           Whether we're running in
    76197614 *                              hmR0VmxRunGuestCodeStep() and should return
     
    76387633
    76397634/**
    7640  * Sets a general-protection (#GP) exception as pending-for-injection into the
     7635 * Sets a general-protection (\#GP) exception as pending-for-injection into the
    76417636 * VM.
    76427637 *
     
    76457640 *                          out-of-sync. Make sure to update the required fields
    76467641 *                          before using them.
    7647  * @param   u32ErrorCode    The error code associated with the #GP.
     7642 * @param   u32ErrorCode    The error code associated with the \#GP.
    76487643 */
    76497644DECLINLINE(void) hmR0VmxSetPendingXcptGP(PVMCPU pVCpu, PCPUMCTX pMixedCtx, uint32_t u32ErrorCode)
     
    77247719 *                              software exceptions).
    77257720 * @param   u32ErrCode          The VM-entry exception error code.
    7726  * @param   GCPtrFaultAddress   The page-fault address for #PF exceptions.
     7721 * @param   GCPtrFaultAddress   The page-fault address for \#PF exceptions.
    77277722 * @param   puIntrState         Pointer to the current guest interruptibility-state.
    77287723 *                              This interruptibility-state will be updated if
     
    1037710372
    1037810373/**
    10379  * VM-exit handler for instructions that result in a #UD exception delivered to
     10374 * VM-exit handler for instructions that result in a \#UD exception delivered to
    1038010375 * the guest.
    1038110376 */
     
    1150311498
    1150411499/**
    11505  * VM-exit exception handler for #MF (Math Fault: floating point exception).
     11500 * VM-exit exception handler for \#MF (Math Fault: floating point exception).
    1150611501 */
    1150711502static int hmR0VmxExitXcptMF(PVMCPU pVCpu, PCPUMCTX pMixedCtx, PVMXTRANSIENT pVmxTransient)
     
    1153311528
    1153411529/**
    11535  * VM-exit exception handler for #BP (Breakpoint exception).
     11530 * VM-exit exception handler for \#BP (Breakpoint exception).
    1153611531 */
    1153711532static int hmR0VmxExitXcptBP(PVMCPU pVCpu, PCPUMCTX pMixedCtx, PVMXTRANSIENT pVmxTransient)
     
    1156411559
    1156511560/**
    11566  * VM-exit exception handler for #DB (Debug exception).
     11561 * VM-exit exception handler for \#DB (Debug exception).
    1156711562 */
    1156811563static int hmR0VmxExitXcptDB(PVMCPU pVCpu, PCPUMCTX pMixedCtx, PVMXTRANSIENT pVmxTransient)
     
    1164711642
    1164811643/**
    11649  * VM-exit exception handler for #NM (Device-not-available exception: floating
     11644 * VM-exit exception handler for \#NM (Device-not-available exception: floating
    1165011645 * point exception).
    1165111646 */
     
    1170311698
    1170411699/**
    11705  * VM-exit exception handler for #GP (General-protection exception).
     11700 * VM-exit exception handler for \#GP (General-protection exception).
    1170611701 *
    1170711702 * @remarks Requires pVmxTransient->uExitIntInfo to be up-to-date.
     
    1201812013
    1201912014/**
    12020  * VM-exit exception handler for #PF (Page-fault exception).
     12015 * VM-exit exception handler for \#PF (Page-fault exception).
    1202112016 */
    1202212017static int hmR0VmxExitXcptPF(PVMCPU pVCpu, PCPUMCTX pMixedCtx, PVMXTRANSIENT pVmxTransient)
  • trunk/src/VBox/VMM/VMMR0/PGMR0.cpp

    r57358 r58116  
    409409
    410410/**
    411  * #PF Handler for nested paging.
     411 * \#PF Handler for nested paging.
    412412 *
    413413 * @returns VBox status code (appropriate for trap handling and GC return).
     
    535535
    536536/**
    537  * #PF Handler for deliberate nested paging misconfiguration (/reserved bit)
     537 * \#PF Handler for deliberate nested paging misconfiguration (/reserved bit)
    538538 * employed for MMIO pages.
    539539 *
  • trunk/src/VBox/VMM/VMMR3/CPUMDbg.cpp

    r57358 r58116  
    3535
    3636/**
    37  * @interface_method_impl{DBGFREGDESC, pfnGet}
     37 * @interface_method_impl{DBGFREGDESC,pfnGet}
    3838 */
    3939static DECLCALLBACK(int) cpumR3RegGet_Generic(void *pvUser, PCDBGFREGDESC pDesc, PDBGFREGVAL pValue)
     
    5858
    5959/**
    60  * @interface_method_impl{DBGFREGDESC, pfnSet}
     60 * @interface_method_impl{DBGFREGDESC,pfnSet}
    6161 */
    6262static DECLCALLBACK(int) cpumR3RegSet_Generic(void *pvUser, PCDBGFREGDESC pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)
     
    104104
    105105/**
    106  * @interface_method_impl{DBGFREGDESC, pfnGet}
     106 * @interface_method_impl{DBGFREGDESC,pfnGet}
    107107 */
    108108static DECLCALLBACK(int) cpumR3RegGet_XStateGeneric(void *pvUser, PCDBGFREGDESC pDesc, PDBGFREGVAL pValue)
     
    127127
    128128/**
    129  * @interface_method_impl{DBGFREGDESC, pfnSet}
     129 * @interface_method_impl{DBGFREGDESC,pfnSet}
    130130 */
    131131static DECLCALLBACK(int) cpumR3RegSet_XStateGeneric(void *pvUser, PCDBGFREGDESC pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)
     
    174174
    175175/**
    176  * @interface_method_impl{DBGFREGDESC, pfnGet}
     176 * @interface_method_impl{DBGFREGDESC,pfnGet}
    177177 */
    178178static DECLCALLBACK(int) cpumR3RegSet_seg(void *pvUser, PCDBGFREGDESC pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)
     
    185185
    186186/**
    187  * @interface_method_impl{DBGFREGDESC, pfnGet}
     187 * @interface_method_impl{DBGFREGDESC,pfnGet}
    188188 */
    189189static DECLCALLBACK(int) cpumR3RegGet_gdtr(void *pvUser, PCDBGFREGDESC pDesc, PDBGFREGVAL pValue)
     
    202202
    203203/**
    204  * @interface_method_impl{DBGFREGDESC, pfnGet}
     204 * @interface_method_impl{DBGFREGDESC,pfnGet}
    205205 */
    206206static DECLCALLBACK(int) cpumR3RegSet_gdtr(void *pvUser, PCDBGFREGDESC pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)
     
    212212
    213213/**
    214  * @interface_method_impl{DBGFREGDESC, pfnGet}
     214 * @interface_method_impl{DBGFREGDESC,pfnGet}
    215215 */
    216216static DECLCALLBACK(int) cpumR3RegGet_idtr(void *pvUser, PCDBGFREGDESC pDesc, PDBGFREGVAL pValue)
     
    229229
    230230/**
    231  * @interface_method_impl{DBGFREGDESC, pfnGet}
     231 * @interface_method_impl{DBGFREGDESC,pfnGet}
    232232 */
    233233static DECLCALLBACK(int) cpumR3RegSet_idtr(void *pvUser, PCDBGFREGDESC pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)
     
    273273
    274274/**
    275  * @interface_method_impl{DBGFREGDESC, pfnGet}
     275 * @interface_method_impl{DBGFREGDESC,pfnGet}
    276276 */
    277277static DECLCALLBACK(int) cpumR3RegGet_ftw(void *pvUser, PCDBGFREGDESC pDesc, PDBGFREGVAL pValue)
     
    296296
    297297/**
    298  * @interface_method_impl{DBGFREGDESC, pfnGet}
     298 * @interface_method_impl{DBGFREGDESC,pfnGet}
    299299 */
    300300static DECLCALLBACK(int) cpumR3RegSet_ftw(void *pvUser, PCDBGFREGDESC pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)
     
    306306
    307307/**
    308  * @interface_method_impl{DBGFREGDESC, pfnGet}
     308 * @interface_method_impl{DBGFREGDESC,pfnGet}
    309309 */
    310310static DECLCALLBACK(int) cpumR3RegGet_Dummy(void *pvUser, PCDBGFREGDESC pDesc, PDBGFREGVAL pValue)
     
    333333
    334334/**
    335  * @interface_method_impl{DBGFREGDESC, pfnSet}
     335 * @interface_method_impl{DBGFREGDESC,pfnSet}
    336336 */
    337337static DECLCALLBACK(int) cpumR3RegSet_Dummy(void *pvUser, PCDBGFREGDESC pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)
     
    350350
    351351/**
    352  * @interface_method_impl{DBGFREGDESC, pfnGet}
     352 * @interface_method_impl{DBGFREGDESC,pfnGet}
    353353 */
    354354static DECLCALLBACK(int) cpumR3RegGstGet_crX(void *pvUser, PCDBGFREGDESC pDesc, PDBGFREGVAL pValue)
     
    372372
    373373/**
    374  * @interface_method_impl{DBGFREGDESC, pfnGet}
     374 * @interface_method_impl{DBGFREGDESC,pfnGet}
    375375 */
    376376static DECLCALLBACK(int) cpumR3RegGstSet_crX(void *pvUser, PCDBGFREGDESC pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)
     
    430430
    431431/**
    432  * @interface_method_impl{DBGFREGDESC, pfnGet}
     432 * @interface_method_impl{DBGFREGDESC,pfnGet}
    433433 */
    434434static DECLCALLBACK(int) cpumR3RegGstGet_drX(void *pvUser, PCDBGFREGDESC pDesc, PDBGFREGVAL pValue)
     
    452452
    453453/**
    454  * @interface_method_impl{DBGFREGDESC, pfnGet}
     454 * @interface_method_impl{DBGFREGDESC,pfnGet}
    455455 */
    456456static DECLCALLBACK(int) cpumR3RegGstSet_drX(void *pvUser, PCDBGFREGDESC pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)
     
    500500
    501501/**
    502  * @interface_method_impl{DBGFREGDESC, pfnGet}
     502 * @interface_method_impl{DBGFREGDESC,pfnGet}
    503503 */
    504504static DECLCALLBACK(int) cpumR3RegGstGet_msr(void *pvUser, PCDBGFREGDESC pDesc, PDBGFREGVAL pValue)
     
    529529
    530530/**
    531  * @interface_method_impl{DBGFREGDESC, pfnGet}
     531 * @interface_method_impl{DBGFREGDESC,pfnGet}
    532532 */
    533533static DECLCALLBACK(int) cpumR3RegGstSet_msr(void *pvUser, PCDBGFREGDESC pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)
     
    588588
    589589/**
    590  * @interface_method_impl{DBGFREGDESC, pfnGet}
     590 * @interface_method_impl{DBGFREGDESC,pfnGet}
    591591 */
    592592static DECLCALLBACK(int) cpumR3RegGstGet_stN(void *pvUser, PCDBGFREGDESC pDesc, PDBGFREGVAL pValue)
     
    607607
    608608/**
    609  * @interface_method_impl{DBGFREGDESC, pfnGet}
     609 * @interface_method_impl{DBGFREGDESC,pfnGet}
    610610 */
    611611static DECLCALLBACK(int) cpumR3RegGstSet_stN(void *pvUser, PCDBGFREGDESC pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)
     
    624624
    625625/**
    626  * @interface_method_impl{DBGFREGDESC, pfnGet}
     626 * @interface_method_impl{DBGFREGDESC,pfnGet}
    627627 */
    628628static DECLCALLBACK(int) cpumR3RegHyperGet_crX(void *pvUser, PCDBGFREGDESC pDesc, PDBGFREGVAL pValue)
     
    654654
    655655/**
    656  * @interface_method_impl{DBGFREGDESC, pfnGet}
     656 * @interface_method_impl{DBGFREGDESC,pfnGet}
    657657 */
    658658static DECLCALLBACK(int) cpumR3RegHyperSet_crX(void *pvUser, PCDBGFREGDESC pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)
     
    665665
    666666/**
    667  * @interface_method_impl{DBGFREGDESC, pfnGet}
     667 * @interface_method_impl{DBGFREGDESC,pfnGet}
    668668 */
    669669static DECLCALLBACK(int) cpumR3RegHyperGet_drX(void *pvUser, PCDBGFREGDESC pDesc, PDBGFREGVAL pValue)
     
    696696
    697697/**
    698  * @interface_method_impl{DBGFREGDESC, pfnGet}
     698 * @interface_method_impl{DBGFREGDESC,pfnGet}
    699699 */
    700700static DECLCALLBACK(int) cpumR3RegHyperSet_drX(void *pvUser, PCDBGFREGDESC pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)
     
    707707
    708708/**
    709  * @interface_method_impl{DBGFREGDESC, pfnGet}
     709 * @interface_method_impl{DBGFREGDESC,pfnGet}
    710710 */
    711711static DECLCALLBACK(int) cpumR3RegHyperGet_msr(void *pvUser, PCDBGFREGDESC pDesc, PDBGFREGVAL pValue)
     
    728728
    729729/**
    730  * @interface_method_impl{DBGFREGDESC, pfnGet}
     730 * @interface_method_impl{DBGFREGDESC,pfnGet}
    731731 */
    732732static DECLCALLBACK(int) cpumR3RegHyperSet_msr(void *pvUser, PCDBGFREGDESC pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)
  • trunk/src/VBox/VMM/VMMR3/CSAM.cpp

    r57389 r58116  
    14671467 * @param   pfnCSAMR3Analyse Callback for testing the disassembled instruction
    14681468 * @param   pUserData   User pointer (callback specific)
    1469  *
     1469 * @param   pCacheRec   GC to HC cache record.
    14701470 */
    14711471static int csamAnalyseCodeStream(PVM pVM, RCPTRTYPE(uint8_t *) pInstrGC, RCPTRTYPE(uint8_t *) pCurInstrGC, bool fCode32,
     
    23512351 *                          calling EMT.
    23522352 * @param   GCPtr           The virtual address the guest has changed.
     2353 * @param   pvUser          Ignored.
    23532354 *
    23542355 * @remarks Not currently called by PGM. It was actually only called for a month
  • trunk/src/VBox/VMM/VMMR3/DBGFR3PlugIn.cpp

    r57358 r58116  
    596596
    597597/**
    598  * @interface_method_impl{FNDBGFHANDLERINT, The 'plugins' info item.}
     598 * @callback_method_impl{FNDBGFHANDLERINT, The 'plugins' info item.}
    599599 */
    600600static DECLCALLBACK(void) dbgfR3PlugInInfoList(PVM pVM, PCDBGFINFOHLP pHlp, const char *pszArgs)
  • trunk/src/VBox/VMM/VMMR3/GIM.cpp

    r57989 r58116  
    529529 *
    530530 * @todo In the future we might want to let the GIM provider decide what the
    531  *       handler should do (like throwing #GP faults).
     531 *       handler should do (like throwing \#GP faults).
    532532 */
    533533static DECLCALLBACK(VBOXSTRICTRC)
     
    539539     */
    540540    Assert(enmAccessType == PGMACCESSTYPE_WRITE);
    541     return VINF_SUCCESS;        /** @todo Hyper-V says we should #GP(0) fault for writes to the Hypercall and TSC page. */
    542 }
    543 
    544 
    545 /**
    546  * Maps a registered MMIO2 region in the guest address space. The region will be
    547  * made read-only and writes from the guest will be ignored.
     541    return VINF_SUCCESS;        /** @todo Hyper-V says we should \#GP(0) fault for writes to the Hypercall and TSC page. */
     542}
     543
     544
     545/**
     546 * Maps a registered MMIO2 region in the guest address space.
     547 *
     548 * The region will be made read-only and writes from the guest will be ignored.
    548549 *
    549550 * @returns VBox status code.
  • trunk/src/VBox/VMM/VMMR3/MMHeap.cpp

    r57358 r58116  
    4747 *
    4848 * @returns VBox status.
    49  * @param   pVM     The handle to the VM the heap should be associated with.
     49 * @param   pUVM    Pointer to the user mode VM structure.
    5050 * @param   ppHeap  Where to store the heap pointer.
    5151 */
  • trunk/src/VBox/VMM/VMMR3/MMPagePool.cpp

    r57358 r58116  
    6363     * Allocate the pool structures.
    6464     */
    65     /** @todo @bufref{1865},@bufref{3202}: mapping the page pool page into
    66      *        ring-0. Need to change the ways we allocate it... */
     65    /** @todo @bugref{1865},@bugref{3202}: mapping the page pool page into ring-0.
     66     *        Need to change the ways we allocate it... */
    6767    AssertReleaseReturn(sizeof(*pVM->mm.s.pPagePoolR3) + sizeof(*pVM->mm.s.pPagePoolLowR3) < PAGE_SIZE, VERR_INTERNAL_ERROR);
    6868    int rc = SUPR3PageAllocEx(1, 0 /*fFlags*/, (void **)&pVM->mm.s.pPagePoolR3, NULL /*pR0Ptr*/, NULL /*paPages*/);
  • trunk/src/VBox/VMM/VMMR3/MMUkHeap.cpp

    r57358 r58116  
    4949 *
    5050 * @returns VBox status.
    51  * @param   pVM     The handle to the VM the heap should be associated with.
     51 * @param   pUVM    Pointer to the user mode VM structure.
    5252 * @param   ppHeap  Where to store the heap pointer.
    5353 */
  • trunk/src/VBox/VMM/VMMR3/PATMR3Dbg.cpp

    r57358 r58116  
    295295        ADD_MEMBER(hDbgMod, PATMGCSTATE, Restore.uFlags,            "Restore.uFlags");
    296296
    297         rc = RTDbgAsModuleLink(hDbgAs, hDbgMod, pVM->patm.s.pGCStateGC, 0 /*fFlags/*/);
     297        rc = RTDbgAsModuleLink(hDbgAs, hDbgMod, pVM->patm.s.pGCStateGC, 0 /*fFlags*/);
    298298        AssertLogRelRC(rc);
    299299        RTDbgModRelease(hDbgMod);
     
    309309        ADD_FUNC(hDbgMod, pVM->patm.s.pStatsGC, pVM->patm.s.pStatsGC, PATM_STAT_MEMSIZE, "PATMMemStatsStart");
    310310
    311         rc = RTDbgAsModuleLink(hDbgAs, hDbgMod, pVM->patm.s.pStatsGC, 0 /*fFlags/*/);
     311        rc = RTDbgAsModuleLink(hDbgAs, hDbgMod, pVM->patm.s.pStatsGC, 0 /*fFlags*/);
    312312        AssertLogRelRC(rc);
    313313        RTDbgModRelease(hDbgMod);
     
    323323        patmR3DbgAddPatches(pVM, hDbgMod);
    324324
    325         rc = RTDbgAsModuleLink(hDbgAs, hDbgMod, pVM->patm.s.pPatchMemGC, 0 /*fFlags/*/);
     325        rc = RTDbgAsModuleLink(hDbgAs, hDbgMod, pVM->patm.s.pPatchMemGC, 0 /*fFlags*/);
    326326        AssertLogRelRC(rc);
    327327    }
  • trunk/src/VBox/VMM/VMMR3/PDMCritSect.cpp

    r57358 r58116  
    132132 * @param   pCritSect       The critical section.
    133133 * @param   pvKey           The owner key.
    134  * @param   RT_SRC_POS_DECL The source position.
     134 * @param   SRC_POS        The source position.
    135135 * @param   pszName         The name of the critical section (for statistics).
    136136 * @param   pszNameFmt      Format string for naming the critical section.  For
     
    219219 * @param   pCritSect       The read/write critical section.
    220220 * @param   pvKey           The owner key.
    221  * @param   RT_SRC_POS_DECL The source position.
     221 * @param   SRC_POS        The source position.
    222222 * @param   pszName         The name of the critical section (for statistics).
    223223 * @param   pszNameFmt      Format string for naming the critical section.  For
     
    325325 * @param   pDevIns         Device instance.
    326326 * @param   pCritSect       Pointer to the critical section.
    327  * @param   RT_SRC_POS_DECL Use RT_SRC_POS.
     327 * @param   SRC_POS        Use RT_SRC_POS.
    328328 * @param   pszNameFmt      Format string for naming the critical section.  For
    329329 *                          statistics and lock validation.
     
    355355 * @param   pDevIns         Device instance.
    356356 * @param   pCritSect       Pointer to the read/write critical section.
    357  * @param   RT_SRC_POS_DECL Use RT_SRC_POS.
     357 * @param   SRC_POS        Use RT_SRC_POS.
    358358 * @param   pszNameFmt      Format string for naming the critical section.  For
    359359 *                          statistics and lock validation.
     
    382382 * @param   pDevIns         Device instance.
    383383 * @param   pCritSect       Pointer to the critical section.
     384 * @param   SRC_POS         The source position.  Optional.
    384385 * @param   pszNameFmt      Format string for naming the critical section.  For
    385386 *                          statistics and lock validation.
     
    400401 * @param   pDevIns         Device instance.
    401402 * @param   pCritSect       Pointer to the read/write critical section.
     403 * @param   SRC_POS         The source position.  Optional.
    402404 * @param   pszNameFmt      Format string for naming the critical section.  For
    403405 *                          statistics and lock validation.
     
    417419 * @param   pVM             Pointer to the VM.
    418420 * @param   pDevIns         Device instance.
     421 * @param   SRC_POS         The source position.  Optional.
    419422 * @param   pCritSect       Pointer to the critical section.
    420423 */
     
    439442 * @param   pDrvIns         Driver instance.
    440443 * @param   pCritSect       Pointer to the critical section.
     444 * @param   SRC_POS         The source position.  Optional.
    441445 * @param   pszNameFmt      Format string for naming the critical section.  For
    442446 *                          statistics and lock validation.
     
    461465 * @param   pDrvIns         Driver instance.
    462466 * @param   pCritSect       Pointer to the read/write critical section.
     467 * @param   SRC_POS         The source position.  Optional.
    463468 * @param   pszNameFmt      Format string for naming the critical section.  For
    464469 *                          statistics and lock validation.
  • trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp

    r57358 r58116  
    21362136
    21372137
    2138 /** @interface_method_impl{PDMDEVHLP,pfnLdrGetRCInterfaceSymbols} */
     2138/** @interface_method_impl{PDMDEVHLPR3,pfnLdrGetRCInterfaceSymbols} */
    21392139static DECLCALLBACK(int) pdmR3DevHlp_LdrGetRCInterfaceSymbols(PPDMDEVINS pDevIns, void *pvInterface, size_t cbInterface,
    21402140                                                              const char *pszSymPrefix, const char *pszSymList)
     
    21742174
    21752175
    2176 /** @interface_method_impl{PDMDEVHLP,pfnLdrGetR0InterfaceSymbols} */
     2176/** @interface_method_impl{PDMDEVHLPR3,pfnLdrGetR0InterfaceSymbols} */
    21772177static DECLCALLBACK(int) pdmR3DevHlp_LdrGetR0InterfaceSymbols(PPDMDEVINS pDevIns, void *pvInterface, size_t cbInterface,
    21782178                                                              const char *pszSymPrefix, const char *pszSymList)
     
    22122212
    22132213
    2214 /** @interface_method_impl{PDMDEVHLP,pfnCallR0} */
     2214/** @interface_method_impl{PDMDEVHLPR3,pfnCallR0} */
    22152215static DECLCALLBACK(int) pdmR3DevHlp_CallR0(PPDMDEVINS pDevIns, uint32_t uOperation, uint64_t u64Arg)
    22162216{
     
    22612261
    22622262
    2263 /** @interface_method_impl{PDMDEVHLP,pfnVMGetSuspendReason} */
     2263/** @interface_method_impl{PDMDEVHLPR3,pfnVMGetSuspendReason} */
    22642264static DECLCALLBACK(VMSUSPENDREASON) pdmR3DevHlp_VMGetSuspendReason(PPDMDEVINS pDevIns)
    22652265{
     
    22742274
    22752275
    2276 /** @interface_method_impl{PDMDEVHLP,pfnVMGetResumeReason} */
     2276/** @interface_method_impl{PDMDEVHLPR3,pfnVMGetResumeReason} */
    22772277static DECLCALLBACK(VMRESUMEREASON) pdmR3DevHlp_VMGetResumeReason(PPDMDEVINS pDevIns)
    22782278{
  • trunk/src/VBox/VMM/VMMR3/PDMDevMiscHlp.cpp

    r57358 r58116  
    312312}
    313313
     314
    314315/** @interface_method_impl{PDMAPICHLPR3,pfnSendInitIpi} */
    315316static DECLCALLBACK(void) pdmR3ApicHlp_SendInitIpi(PPDMDEVINS pDevIns, VMCPUID idCpu)
     
    319320    VMMR3SendInitIpi(pDevIns->Internal.s.pVMR3, idCpu);
    320321}
     322
    321323
    322324/** @interface_method_impl{PDMAPICHLPR3,pfnGetRCHelpers} */
     
    529531
    530532/** @interface_method_impl{PDMPCIHLPR3,pfnIoApicSendMsi} */
    531 static DECLCALLBACK(void) pdmR3PciHlp_IoApicSendMsi(PPDMDEVINS pDevIns, RTGCPHYS GCAddr, uint32_t uValue, uint32_t uTagSrc)
    532 {
    533     PDMDEV_ASSERT_DEVINS(pDevIns);
    534     Log4(("pdmR3PciHlp_IoApicSendMsi: address=%p value=%x uTagSrc=%#x\n", GCAddr, uValue, uTagSrc));
    535     PDMIoApicSendMsi(pDevIns->Internal.s.pVMR3, GCAddr, uValue, uTagSrc);
     533static DECLCALLBACK(void) pdmR3PciHlp_IoApicSendMsi(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, uint32_t uValue, uint32_t uTagSrc)
     534{
     535    PDMDEV_ASSERT_DEVINS(pDevIns);
     536    Log4(("pdmR3PciHlp_IoApicSendMsi: address=%p value=%x uTagSrc=%#x\n", GCPhys, uValue, uTagSrc));
     537    PDMIoApicSendMsi(pDevIns->Internal.s.pVMR3, GCPhys, uValue, uTagSrc);
    536538}
    537539
  • trunk/src/VBox/VMM/VMMR3/PDMDriver.cpp

    r57684 r58116  
    985985 */
    986986
    987 /** @interface_method_impl{PDMDRVHLP,pfnAttach} */
     987/** @interface_method_impl{PDMDRVHLPR3,pfnAttach} */
    988988static DECLCALLBACK(int) pdmR3DrvHlp_Attach(PPDMDRVINS pDrvIns, uint32_t fFlags, PPDMIBASE *ppBaseInterface)
    989989{
     
    10231023
    10241024
    1025 /** @interface_method_impl{PDMDRVHLP,pfnDetach} */
     1025/** @interface_method_impl{PDMDRVHLPR3,pfnDetach} */
    10261026static DECLCALLBACK(int) pdmR3DrvHlp_Detach(PPDMDRVINS pDrvIns, uint32_t fFlags)
    10271027{
     
    10491049
    10501050
    1051 /** @interface_method_impl{PDMDRVHLP,pfnDetachSelf} */
     1051/** @interface_method_impl{PDMDRVHLPR3,pfnDetachSelf} */
    10521052static DECLCALLBACK(int) pdmR3DrvHlp_DetachSelf(PPDMDRVINS pDrvIns, uint32_t fFlags)
    10531053{
     
    10641064
    10651065
    1066 /** @interface_method_impl{PDMDRVHLP,pfnMountPrepare} */
     1066/** @interface_method_impl{PDMDRVHLPR3,pfnMountPrepare} */
    10671067static DECLCALLBACK(int) pdmR3DrvHlp_MountPrepare(PPDMDRVINS pDrvIns, const char *pszFilename, const char *pszCoreDriver)
    10681068{
     
    11381138
    11391139
    1140 /** @interface_method_impl{PDMDRVHLP,pfnAssertEMT} */
     1140/** @interface_method_impl{PDMDRVHLPR3,pfnAssertEMT} */
    11411141static DECLCALLBACK(bool) pdmR3DrvHlp_AssertEMT(PPDMDRVINS pDrvIns, const char *pszFile, unsigned iLine, const char *pszFunction)
    11421142{
     
    11541154
    11551155
    1156 /** @interface_method_impl{PDMDRVHLP,pfnAssertOther} */
     1156/** @interface_method_impl{PDMDRVHLPR3,pfnAssertOther} */
    11571157static DECLCALLBACK(bool) pdmR3DrvHlp_AssertOther(PPDMDRVINS pDrvIns, const char *pszFile, unsigned iLine, const char *pszFunction)
    11581158{
     
    11701170
    11711171
    1172 /** @interface_method_impl{PDMDRVHLP,pfnVMSetError} */
     1172/** @interface_method_impl{PDMDRVHLPR3,pfnVMSetError} */
    11731173static DECLCALLBACK(int) pdmR3DrvHlp_VMSetError(PPDMDRVINS pDrvIns, int rc, RT_SRC_POS_DECL, const char *pszFormat, ...)
    11741174{
     
    11821182
    11831183
    1184 /** @interface_method_impl{PDMDRVHLP,pfnVMSetErrorV} */
     1184/** @interface_method_impl{PDMDRVHLPR3,pfnVMSetErrorV} */
    11851185static DECLCALLBACK(int) pdmR3DrvHlp_VMSetErrorV(PPDMDRVINS pDrvIns, int rc, RT_SRC_POS_DECL, const char *pszFormat, va_list va)
    11861186{
     
    11911191
    11921192
    1193 /** @interface_method_impl{PDMDRVHLP,pfnVMSetRuntimeError} */
     1193/** @interface_method_impl{PDMDRVHLPR3,pfnVMSetRuntimeError} */
    11941194static DECLCALLBACK(int) pdmR3DrvHlp_VMSetRuntimeError(PPDMDRVINS pDrvIns, uint32_t fFlags, const char *pszErrorId, const char *pszFormat, ...)
    11951195{
     
    12031203
    12041204
    1205 /** @interface_method_impl{PDMDRVHLP,pfnVMSetRuntimeErrorV} */
     1205/** @interface_method_impl{PDMDRVHLPR3,pfnVMSetRuntimeErrorV} */
    12061206static DECLCALLBACK(int) pdmR3DrvHlp_VMSetRuntimeErrorV(PPDMDRVINS pDrvIns, uint32_t fFlags, const char *pszErrorId, const char *pszFormat, va_list va)
    12071207{
     
    12121212
    12131213
    1214 /** @interface_method_impl{PDMDEVHLPR3,pfnVMState} */
     1214/** @interface_method_impl{PDMDRVHLPR3,pfnVMState} */
    12151215static DECLCALLBACK(VMSTATE) pdmR3DrvHlp_VMState(PPDMDRVINS pDrvIns)
    12161216{
     
    12251225
    12261226
    1227 /** @interface_method_impl{PDMDEVHLPR3,pfnVMTeleportedAndNotFullyResumedYet} */
     1227/** @interface_method_impl{PDMDRVHLPR3,pfnVMTeleportedAndNotFullyResumedYet} */
    12281228static DECLCALLBACK(bool) pdmR3DrvHlp_VMTeleportedAndNotFullyResumedYet(PPDMDRVINS pDrvIns)
    12291229{
     
    12381238
    12391239
    1240 /** @interface_method_impl{PDMDEVHLPR3,pfnGetSupDrvSession} */
     1240/** @interface_method_impl{PDMDRVHLPR3,pfnGetSupDrvSession} */
    12411241static DECLCALLBACK(PSUPDRVSESSION) pdmR3DrvHlp_GetSupDrvSession(PPDMDRVINS pDrvIns)
    12421242{
     
    12501250
    12511251
    1252 /** @interface_method_impl{PDMDRVHLP,pfnQueueCreate} */
     1252/** @interface_method_impl{PDMDRVHLPR3,pfnQueueCreate} */
    12531253static DECLCALLBACK(int) pdmR3DrvHlp_QueueCreate(PPDMDRVINS pDrvIns, uint32_t cbItem, uint32_t cItems, uint32_t cMilliesInterval,
    12541254                                                 PFNPDMQUEUEDRV pfnCallback, const char *pszName, PPDMQUEUE *ppQueue)
     
    12731273
    12741274
    1275 /** @interface_method_impl{PDMDRVHLP,pfnTMGetVirtualFreq} */
     1275/** @interface_method_impl{PDMDRVHLPR3,pfnTMGetVirtualFreq} */
    12761276static DECLCALLBACK(uint64_t) pdmR3DrvHlp_TMGetVirtualFreq(PPDMDRVINS pDrvIns)
    12771277{
     
    12821282
    12831283
    1284 /** @interface_method_impl{PDMDRVHLP,pfnTMGetVirtualTime} */
     1284/** @interface_method_impl{PDMDRVHLPR3,pfnTMGetVirtualTime} */
    12851285static DECLCALLBACK(uint64_t) pdmR3DrvHlp_TMGetVirtualTime(PPDMDRVINS pDrvIns)
    12861286{
     
    12911291
    12921292
    1293 /** @interface_method_impl{PDMDRVHLP,pfnTMTimerCreate} */
     1293/** @interface_method_impl{PDMDRVHLPR3,pfnTMTimerCreate} */
    12941294static DECLCALLBACK(int) pdmR3DrvHlp_TMTimerCreate(PPDMDRVINS pDrvIns, TMCLOCK enmClock, PFNTMTIMERDRV pfnCallback, void *pvUser, uint32_t fFlags, const char *pszDesc, PPTMTIMERR3 ppTimer)
    12951295{
     
    13061306
    13071307
    1308 /** @interface_method_impl{PDMDRVHLP,pfnSSMRegister} */
     1308/** @interface_method_impl{PDMDRVHLPR3,pfnSSMRegister} */
    13091309static DECLCALLBACK(int) pdmR3DrvHlp_SSMRegister(PPDMDRVINS pDrvIns, uint32_t uVersion, size_t cbGuess,
    13101310                                                 PFNSSMDRVLIVEPREP pfnLivePrep, PFNSSMDRVLIVEEXEC pfnLiveExec, PFNSSMDRVLIVEVOTE pfnLiveVote,
     
    13311331
    13321332
    1333 /** @interface_method_impl{PDMDRVHLP,pfnSSMDeregister} */
    1334 static DECLCALLBACK(int) pdmR3DrvHlp_SSMDeregister(PPDMDRVINS pDrvIns, const char *pszName, uint32_t u32Instance)
     1333/** @interface_method_impl{PDMDRVHLPR3,pfnSSMDeregister} */
     1334static DECLCALLBACK(int) pdmR3DrvHlp_SSMDeregister(PPDMDRVINS pDrvIns, const char *pszName, uint32_t uInstance)
    13351335{
    13361336    PDMDRV_ASSERT_DRVINS(pDrvIns);
    13371337    VM_ASSERT_EMT(pDrvIns->Internal.s.pVMR3);
    1338     LogFlow(("pdmR3DrvHlp_SSMDeregister: caller='%s'/%d: pszName=%p:{%s} u32Instance=%#x\n",
    1339              pDrvIns->pReg->szName, pDrvIns->iInstance, pszName, pszName, u32Instance));
    1340 
    1341     int rc = SSMR3DeregisterDriver(pDrvIns->Internal.s.pVMR3, pDrvIns, pszName, u32Instance);
     1338    LogFlow(("pdmR3DrvHlp_SSMDeregister: caller='%s'/%d: pszName=%p:{%s} uInstance=%#x\n",
     1339             pDrvIns->pReg->szName, pDrvIns->iInstance, pszName, pszName, uInstance));
     1340
     1341    int rc = SSMR3DeregisterDriver(pDrvIns->Internal.s.pVMR3, pDrvIns, pszName, uInstance);
    13421342
    13431343    LogFlow(("pdmR3DrvHlp_SSMDeregister: caller='%s'/%d: returns %Rrc\n", pDrvIns->pReg->szName, pDrvIns->iInstance, rc));
     
    13461346
    13471347
    1348 /** @interface_method_impl{PDMDEVHLP,pfnDBGFInfoRegister} */
     1348/** @interface_method_impl{PDMDRVHLPR3,pfnDBGFInfoRegister} */
    13491349static DECLCALLBACK(int) pdmR3DrvHlp_DBGFInfoRegister(PPDMDRVINS pDrvIns, const char *pszName, const char *pszDesc, PFNDBGFHANDLERDRV pfnHandler)
    13501350{
     
    13601360
    13611361
    1362 /** @interface_method_impl{PDMDEVHLP,pfnDBGFInfoDeregister} */
     1362/** @interface_method_impl{PDMDRVHLPR3,pfnDBGFInfoDeregister} */
    13631363static DECLCALLBACK(int) pdmR3DrvHlp_DBGFInfoDeregister(PPDMDRVINS pDrvIns, const char *pszName)
    13641364{
     
    13751375
    13761376
    1377 /** @interface_method_impl{PDMDRVHLP,pfnSTAMRegister} */
     1377/** @interface_method_impl{PDMDRVHLPR3,pfnSTAMRegister} */
    13781378static DECLCALLBACK(void) pdmR3DrvHlp_STAMRegister(PPDMDRVINS pDrvIns, void *pvSample, STAMTYPE enmType, const char *pszName, STAMUNIT enmUnit, const char *pszDesc)
    13791379{
     
    13871387
    13881388
    1389 /** @interface_method_impl{PDMDRVHLP,pfnSTAMRegisterF} */
     1389/** @interface_method_impl{PDMDRVHLPR3,pfnSTAMRegisterF} */
    13901390static DECLCALLBACK(void) pdmR3DrvHlp_STAMRegisterF(PPDMDRVINS pDrvIns, void *pvSample, STAMTYPE enmType, STAMVISIBILITY enmVisibility,
    13911391                                                    STAMUNIT enmUnit, const char *pszDesc, const char *pszName, ...)
     
    14021402
    14031403
    1404 /** @interface_method_impl{PDMDRVHLP,pfnSTAMRegisterV} */
     1404/** @interface_method_impl{PDMDRVHLPR3,pfnSTAMRegisterV} */
    14051405static DECLCALLBACK(void) pdmR3DrvHlp_STAMRegisterV(PPDMDRVINS pDrvIns, void *pvSample, STAMTYPE enmType, STAMVISIBILITY enmVisibility,
    14061406                                                    STAMUNIT enmUnit, const char *pszDesc, const char *pszName, va_list args)
     
    14141414
    14151415
    1416 /** @interface_method_impl{PDMDRVHLP,pfnSTAMDeregister} */
     1416/** @interface_method_impl{PDMDRVHLPR3,pfnSTAMDeregister} */
    14171417static DECLCALLBACK(int) pdmR3DrvHlp_STAMDeregister(PPDMDRVINS pDrvIns, void *pvSample)
    14181418{
     
    14261426
    14271427
    1428 /** @interface_method_impl{PDMDRVHLP,pfnSUPCallVMMR0Ex} */
     1428/** @interface_method_impl{PDMDRVHLPR3,pfnSUPCallVMMR0Ex} */
    14291429static DECLCALLBACK(int) pdmR3DrvHlp_SUPCallVMMR0Ex(PPDMDRVINS pDrvIns, unsigned uOperation, void *pvArg, unsigned cbArg)
    14301430{
     
    14471447
    14481448
    1449 /** @interface_method_impl{PDMDRVHLP,pfnUSBRegisterHub} */
     1449/** @interface_method_impl{PDMDRVHLPR3,pfnUSBRegisterHub} */
    14501450static DECLCALLBACK(int) pdmR3DrvHlp_USBRegisterHub(PPDMDRVINS pDrvIns, uint32_t fVersions, uint32_t cPorts, PCPDMUSBHUBREG pUsbHubReg, PPCPDMUSBHUBHLP ppUsbHubHlp)
    14511451{
     
    14661466
    14671467
    1468 /** @interface_method_impl{PDMDRVHLP,pfnSetAsyncNotification} */
     1468/** @interface_method_impl{PDMDRVHLPR3,pfnSetAsyncNotification} */
    14691469static DECLCALLBACK(int) pdmR3DrvHlp_SetAsyncNotification(PPDMDRVINS pDrvIns, PFNPDMDRVASYNCNOTIFY pfnAsyncNotify)
    14701470{
     
    14951495
    14961496
    1497 /** @interface_method_impl{PDMDRVHLP,pfnAsyncNotificationCompleted} */
     1497/** @interface_method_impl{PDMDRVHLPR3,pfnAsyncNotificationCompleted} */
    14981498static DECLCALLBACK(void) pdmR3DrvHlp_AsyncNotificationCompleted(PPDMDRVINS pDrvIns)
    14991499{
     
    15181518
    15191519
    1520 /** @interface_method_impl{PDMDRVHLP,pfnThreadCreate} */
     1520/** @interface_method_impl{PDMDRVHLPR3,pfnThreadCreate} */
    15211521static DECLCALLBACK(int) pdmR3DrvHlp_ThreadCreate(PPDMDRVINS pDrvIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADDRV pfnThread,
    15221522                                                  PFNPDMTHREADWAKEUPDRV pfnWakeup, size_t cbStack, RTTHREADTYPE enmType, const char *pszName)
     
    15351535
    15361536
    1537 /** @interface_method_impl{PDMDRVHLP,pfnAsyncCompletionTemplateCreate} */
     1537/** @interface_method_impl{PDMDRVHLPR3,pfnAsyncCompletionTemplateCreate} */
    15381538static DECLCALLBACK(int) pdmR3DrvHlp_AsyncCompletionTemplateCreate(PPDMDRVINS pDrvIns, PPPDMASYNCCOMPLETIONTEMPLATE ppTemplate,
    15391539                                                                   PFNPDMASYNCCOMPLETEDRV pfnCompleted, void *pvTemplateUser,
     
    15531553
    15541554#ifdef VBOX_WITH_NETSHAPER
    1555 /** @interface_method_impl{PDMDRVHLP,pfnNetShaperAttach} */
     1555/** @interface_method_impl{PDMDRVHLPR3,pfnNetShaperAttach} */
    15561556static DECLCALLBACK(int) pdmR3DrvHlp_NetShaperAttach(PPDMDRVINS pDrvIns, const char *pszBwGroup, PPDMNSFILTER pFilter)
    15571557{
     
    15681568
    15691569
    1570 /** @interface_method_impl{PDMDRVHLP,pfnNetShaperDetach} */
     1570/** @interface_method_impl{PDMDRVHLPR3,pfnNetShaperDetach} */
    15711571static DECLCALLBACK(int) pdmR3DrvHlp_NetShaperDetach(PPDMDRVINS pDrvIns, PPDMNSFILTER pFilter)
    15721572{
     
    15841584
    15851585
    1586 /** @interface_method_impl{PDMDRVHLP,pfnLdrGetRCInterfaceSymbols} */
     1586/** @interface_method_impl{PDMDRVHLPR3,pfnLdrGetRCInterfaceSymbols} */
    15871587static DECLCALLBACK(int) pdmR3DrvHlp_LdrGetRCInterfaceSymbols(PPDMDRVINS pDrvIns, void *pvInterface, size_t cbInterface,
    15881588                                                              const char *pszSymPrefix, const char *pszSymList)
     
    16221622
    16231623
    1624 /** @interface_method_impl{PDMDRVHLP,pfnLdrGetR0InterfaceSymbols} */
     1624/** @interface_method_impl{PDMDRVHLPR3,pfnLdrGetR0InterfaceSymbols} */
    16251625static DECLCALLBACK(int) pdmR3DrvHlp_LdrGetR0InterfaceSymbols(PPDMDRVINS pDrvIns, void *pvInterface, size_t cbInterface,
    16261626                                                              const char *pszSymPrefix, const char *pszSymList)
     
    16601660
    16611661
    1662 /** @interface_method_impl{PDMDRVHLP,pfnCritSectInit} */
     1662/** @interface_method_impl{PDMDRVHLPR3,pfnCritSectInit} */
    16631663static DECLCALLBACK(int) pdmR3DrvHlp_CritSectInit(PPDMDRVINS pDrvIns, PPDMCRITSECT pCritSect,
    16641664                                                  RT_SRC_POS_DECL, const char *pszName)
     
    16781678
    16791679
    1680 /** @interface_method_impl{PDMDRVHLP,pfnCallR0} */
     1680/** @interface_method_impl{PDMDRVHLPR3,pfnCallR0} */
    16811681static DECLCALLBACK(int) pdmR3DrvHlp_CallR0(PPDMDRVINS pDrvIns, uint32_t uOperation, uint64_t u64Arg)
    16821682{
     
    17301730
    17311731
    1732 /** @interface_method_impl{PDMDRVHLP,pfnFTSetCheckpoint} */
     1732/** @interface_method_impl{PDMDRVHLPR3,pfnFTSetCheckpoint} */
    17331733static DECLCALLBACK(int) pdmR3DrvHlp_FTSetCheckpoint(PPDMDRVINS pDrvIns, FTMCHECKPOINTTYPE enmType)
    17341734{
     
    17381738
    17391739
    1740 /** @interface_method_impl{PDMDRVHLP,pfnBlkCacheRetain} */
     1740/** @interface_method_impl{PDMDRVHLPR3,pfnBlkCacheRetain} */
    17411741static DECLCALLBACK(int) pdmR3DrvHlp_BlkCacheRetain(PPDMDRVINS pDrvIns, PPPDMBLKCACHE ppBlkCache,
    17421742                                                    PFNPDMBLKCACHEXFERCOMPLETEDRV pfnXferComplete,
     
    17521752
    17531753
    1754 /** @interface_method_impl{PDMDRVHLP,pfnVMGetSuspendReason} */
     1754/** @interface_method_impl{PDMDRVHLPR3,pfnVMGetSuspendReason} */
    17551755static DECLCALLBACK(VMSUSPENDREASON) pdmR3DrvHlp_VMGetSuspendReason(PPDMDRVINS pDrvIns)
    17561756{
     
    17651765
    17661766
    1767 /** @interface_method_impl{PDMDRVHLP,pfnVMGetResumeReason} */
     1767/** @interface_method_impl{PDMDRVHLPR3,pfnVMGetResumeReason} */
    17681768static DECLCALLBACK(VMRESUMEREASON) pdmR3DrvHlp_VMGetResumeReason(PPDMDRVINS pDrvIns)
    17691769{
  • trunk/src/VBox/VMM/VMMR3/PDMLdr.cpp

    r57377 r58116  
    10231023 * @returns NULL on failure.
    10241024 *
    1025  * @param   pszFile     File name (no path).
     1025 * @param   pszFile         File name (no path).
     1026 * @param   fShared         If true, search in the shared directory (/usr/lib on Unix), else
     1027 *                          search in the private directory (/usr/lib/virtualbox on Unix).
     1028 *                          Ignored if VBOX_PATH_SHARED_LIBS is not defined.
    10261029 */
    10271030char *pdmR3FileR3(const char *pszFile, bool fShared)
  • trunk/src/VBox/VMM/VMMR3/PDMUsb.cpp

    r57358 r58116  
    14831483 */
    14841484
    1485 /** @interface_method_impl{PDMUSBHLPR3,pfnDriverAttach} */
     1485/** @interface_method_impl{PDMUSBHLP,pfnDriverAttach} */
    14861486static DECLCALLBACK(int) pdmR3UsbHlp_DriverAttach(PPDMUSBINS pUsbIns, RTUINT iLun, PPDMIBASE pBaseInterface,
    14871487                                                  PPDMIBASE *ppBaseInterface, const char *pszDesc)
  • trunk/src/VBox/VMM/VMMR3/PGM.cpp

    r57446 r58116  
    156156 *
    157157 *
    158  * @subsection      sec_pgm_handlers_virt   Virtual Access Handlers
     158 * @subsection      sec_pgm_handlers_phys   Physical Access Handlers
    159159 *
    160160 * Placeholder.
     
    249249 *
    250250 *
    251  * @subsection subsec_pgmPhys_Definitions       Definitions
     251 * @section sec_pgmPhys_Definitions       Definitions
    252252 *
    253253 * Allocation chunk - A RTR0MemObjAllocPhysNC object and the tracking
     
    257257 *
    258258 *
    259  * @subsection subsec_pgmPhys_AllocPage         Allocating a page.
     259 * @section sec_pgmPhys_AllocPage         Allocating a page.
    260260 *
    261261 * Initially we map *all* guest memory to the (per VM) zero page, which
     
    286286 *
    287287 *
    288  * @subsection subsec_pgmPhys_FreePage          Freeing a page
     288 * @section sec_pgmPhys_FreePage          Freeing a page
    289289 *
    290290 * There are a few points where a page can be freed:
     
    316316 *
    317317 *
    318  * @subsection subsec_pgmPhys_SharePage         Sharing a page
     318 * @section sec_pgmPhys_SharePage         Sharing a page
    319319 *
    320320 * The basic idea is that there there will be a idle priority kernel
     
    337337 *
    338338 *
    339  * @subsection subsec_pgmPhys_Fragmentation     Fragmentation Concerns and Counter Measures
     339 * @section sec_pgmPhys_Fragmentation     Fragmentation Concerns and Counter Measures
    340340 *
    341341 * The pages are organized in allocation chunks in ring-0, this is a necessity
     
    365365 *
    366366 *
    367  * @subsection subsec_pgmPhys_Tracking      Tracking Structures And Their Cost
     367 * @section sec_pgmPhys_Tracking      Tracking Structures And Their Cost
    368368 *
    369369 * There's a difficult balance between keeping the per-page tracking structures
     
    375375 *
    376376 *
    377  * @subsubsection subsubsec_pgmPhys_Tracking_Kernel     Kernel Space
     377 * @subsection subsec_pgmPhys_Tracking_Kernel     Kernel Space
    378378 *
    379379 * @see pg_GMM
    380380 *
    381  * @subsubsection subsubsec_pgmPhys_Tracking_PerVM      Per-VM
     381 * @subsection subsec_pgmPhys_Tracking_PerVM      Per-VM
    382382 *
    383383 * Fixed info is the physical address of the page (HCPhys) and the page id
     
    471471 *
    472472 *
    473  * @subsection subsec_pgmPhys_Serializing       Serializing Access
     473 * @section sec_pgmPhys_Serializing       Serializing Access
    474474 *
    475475 * Initially, we'll try a simple scheme:
     
    496496 *
    497497 *
    498  * @subsection subsec_pgmPhys_Request           VM Request interface
     498 * @section sec_pgmPhys_Request           VM Request interface
    499499 *
    500500 * When in ring-0 it will become necessary to send requests to a VM so it can
  • trunk/src/VBox/VMM/VMMR3/PGMPool.cpp

    r57358 r58116  
    7070 *
    7171 *
    72  * @section sec_pgm_pool_impl      Monitoring
     72 * @section sec_pgm_pool_monitoring Monitoring
    7373 *
    7474 * We always monitor PAGE_SIZE chunks of memory. When we've got multiple shadow
  • trunk/src/VBox/VMM/VMMR3/SSM.cpp

    r57358 r58116  
    89788978 * @param   pSSM                The saved state handle.
    89798979 * @param   rc                  The status code of the error. Use RT_SRC_POS.
    8980  * @param   RT_SRC_POS_DECL     The source location.
     8980 * @param   SRC_POS             The source location.
    89818981 * @param   pszFormat           The message format string.
    89828982 * @param   ...                 Variable argument list.
     
    89988998 * @param   pSSM                The saved state handle.
    89998999 * @param   rc                  The status code of the error.
    9000  * @param   RT_SRC_POS_DECL     The error location, use RT_SRC_POS.
     9000 * @param   SRC_POS             The error location, use RT_SRC_POS.
    90019001 * @param   pszFormat           The message format string.
    90029002 * @param   va                  Variable argument list.
     
    90589058 * @returns VERR_SSM_LOAD_CONFIG_MISMATCH.
    90599059 * @param   pSSM                The saved state handle.
    9060  * @param   RT_SRC_POS_DECL     The error location, use RT_SRC_POS.
     9060 * @param   SRC_POS             The error location, use RT_SRC_POS.
    90619061 * @param   pszFormat           The message format string.
    90629062 * @param   va                  Variable argument list.
  • trunk/src/VBox/VMM/VMMR3/TM.cpp

    r57431 r58116  
    285285    pVM->tm.s.pfnVirtualGetRawR3                 = tmVirtualNanoTSRediscover;
    286286    pVM->tm.s.VirtualGetRawDataR3.pfnRediscover  = tmVirtualNanoTSRediscover;
    287     pVM->tm.s.VirtualGetRawDataR3.pfnBad         = tmVirtualNanoTSBadPrev;
     287    pVM->tm.s.VirtualGetRawDataR3.pfnBad         = tmVirtualNanoTSBad;
    288288    pVM->tm.s.VirtualGetRawDataR3.pfnBadCpuIndex = tmVirtualNanoTSBadCpuIndex;
    289289    pVM->tm.s.VirtualGetRawDataR3.pu64Prev       = &pVM->tm.s.u64VirtualRawPrev;
     
    10201020    if (!HMIsEnabled(pVM))
    10211021    {
    1022         rc = PDMR3LdrGetSymbolRC(pVM, NULL, "tmVirtualNanoTSBadPrev",       &pVM->tm.s.VirtualGetRawDataRC.pfnBad);
     1022        rc = PDMR3LdrGetSymbolRC(pVM, NULL, "tmVirtualNanoTSBad",           &pVM->tm.s.VirtualGetRawDataRC.pfnBad);
    10231023        AssertRCReturn(rc, rc);
    10241024        rc = PDMR3LdrGetSymbolRC(pVM, NULL, "tmVirtualNanoTSBadCpuIndex",   &pVM->tm.s.VirtualGetRawDataRC.pfnBadCpuIndex);
     
    10291029    }
    10301030
    1031     rc = PDMR3LdrGetSymbolR0(pVM, NULL, "tmVirtualNanoTSBadPrev",       &pVM->tm.s.VirtualGetRawDataR0.pfnBad);
     1031    rc = PDMR3LdrGetSymbolR0(pVM, NULL, "tmVirtualNanoTSBad",           &pVM->tm.s.VirtualGetRawDataR0.pfnBad);
    10321032    AssertRCReturn(rc, rc);
    10331033    rc = PDMR3LdrGetSymbolR0(pVM, NULL, "tmVirtualNanoTSBadCpuIndex",   &pVM->tm.s.VirtualGetRawDataR0.pfnBadCpuIndex);
  • trunk/src/VBox/VMM/VMMR3/VM.cpp

    r58090 r58116  
    38293829 * @param   pUVM            Pointer to the user mode VM structure.
    38303830 * @param   rc              The VBox status code.
    3831  * @param   RT_SRC_POS_DECL The source position of this error.
     3831 * @param   SRC_POS        The source position of this error.
    38323832 * @param   pszFormat       Format string.
    38333833 * @param   ...             The arguments.
     
    38493849 * @param   pUVM            Pointer to the user mode VM structure.
    38503850 * @param   rc              The VBox status code.
    3851  * @param   RT_SRC_POS_DECL The source position of this error.
     3851 * @param   SRC_POS        The source position of this error.
    38523852 * @param   pszFormat       Format string.
    38533853 * @param   pArgs           Pointer to the format arguments.
     
    39093909 * @param   pUVM            The user mode VM handle.
    39103910 * @param   rc              VBox status code.
    3911  * @param   RT_SRC_POS_DECL Use RT_SRC_POS.
     3911 * @param   SRC_POS        Use RT_SRC_POS.
    39123912 * @param   pszFormat       Error message format string.
    39133913 * @param   ...             Error message arguments.
     
    39333933 * @param   pUVM            The user mode VM handle.
    39343934 * @param   rc              VBox status code.
    3935  * @param   RT_SRC_POS_DECL Use RT_SRC_POS.
     3935 * @param   SRC_POS        Use RT_SRC_POS.
    39363936 * @param   pszFormat       Error message format string.
    39373937 * @param   va              Error message arguments.
  • trunk/src/VBox/VMM/VMMRC/MMRamRC.cpp

    r57358 r58116  
    7373
    7474/**
    75  * Read data in guest context with #PF control.
     75 * Read data in guest context with \#PF control.
    7676 *
    7777 * @returns VBox status.
     
    130130
    131131/**
    132  * Write data in guest context with #PF control.
     132 * Write data in guest context with \#PF control.
    133133 *
    134134 * @returns VBox status.
  • trunk/src/VBox/VMM/VMMRC/PDMRCDevice.cpp

    r57358 r58116  
    165165
    166166
    167 /** @interface_method_impl{PDMDRVHLPRC,pfnPCISetIrq} */
     167/** @interface_method_impl{PDMDEVHLPRC,pfnISASetIrq} */
    168168static DECLCALLBACK(void) pdmRCDevHlp_ISASetIrq(PPDMDEVINS pDevIns, int iIrq, int iLevel)
    169169{
     
    404404 */
    405405
    406 /** @interface_method_impl{PDMPICHLPGC,pfnSetInterruptFF} */
     406/** @interface_method_impl{PDMPICHLPRC,pfnSetInterruptFF} */
    407407static DECLCALLBACK(void) pdmRCPicHlp_SetInterruptFF(PPDMDEVINS pDevIns)
    408408{
     
    428428
    429429
    430 /** @interface_method_impl{PDMPICHLPGC,pfnClearInterruptFF} */
     430/** @interface_method_impl{PDMPICHLPRC,pfnClearInterruptFF} */
    431431static DECLCALLBACK(void) pdmRCPicHlp_ClearInterruptFF(PPDMDEVINS pDevIns)
    432432{
     
    453453
    454454
    455 /** @interface_method_impl{PDMPICHLPGC,pfnLock} */
     455/** @interface_method_impl{PDMPICHLPRC,pfnLock} */
    456456static DECLCALLBACK(int) pdmRCPicHlp_Lock(PPDMDEVINS pDevIns, int rc)
    457457{
     
    461461
    462462
    463 /** @interface_method_impl{PDMPICHLPGC,pfnUnlock} */
     463/** @interface_method_impl{PDMPICHLPRC,pfnUnlock} */
    464464static DECLCALLBACK(void) pdmRCPicHlp_Unlock(PPDMDEVINS pDevIns)
    465465{
  • trunk/src/VBox/VMM/include/TMInternal.h

    r57411 r58116  
    767767int                     tmVirtualPauseLocked(PVM pVM);
    768768int                     tmVirtualResumeLocked(PVM pVM);
    769 DECLCALLBACK(DECLEXPORT(void))      tmVirtualNanoTSBadPrev(PRTTIMENANOTSDATA pData, uint64_t u64NanoTS,
    770                                                            uint64_t u64DeltaPrev, uint64_t u64PrevNanoTS);
     769DECLCALLBACK(DECLEXPORT(void))      tmVirtualNanoTSBad(PRTTIMENANOTSDATA pData, uint64_t u64NanoTS,
     770                                                       uint64_t u64DeltaPrev, uint64_t u64PrevNanoTS);
    771771DECLCALLBACK(DECLEXPORT(uint64_t))  tmVirtualNanoTSRediscover(PRTTIMENANOTSDATA pData);
    772772DECLCALLBACK(DECLEXPORT(uint64_t))  tmVirtualNanoTSBadCpuIndex(PRTTIMENANOTSDATA pData, uint16_t idApic,
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