VirtualBox

Changeset 41776 in vbox


Ignore:
Timestamp:
Jun 16, 2012 6:36:56 PM (12 years ago)
Author:
vboxsync
Message:

doxygen comments.

Location:
trunk/src/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/timer-r0drv-solaris.c

    r40971 r41776  
    335335        if (pTimer->interval == 0)
    336336        {
    337             /* @todo use gethrtime_max instead of LLONG_MAX? */
     337            /** @todo use gethrtime_max instead of LLONG_MAX? */
    338338            AssertCompileSize(pSingleTimer->hFireTime.cyt_interval, sizeof(long long));
    339339            pSingleTimer->hFireTime.cyt_interval = LLONG_MAX - pSingleTimer->hFireTime.cyt_when;
  • trunk/src/VBox/VMM/VMMR0/GMMR0.cpp

    r41774 r41776  
    13391339 * Scan one chunk for private pages belonging to the specified VM.
    13401340 *
    1341  * @note    This function may drop the gian mutex!
     1341 * @note    This function may drop the giant mutex!
    13421342 *
    13431343 * @returns @c true if we've temporarily dropped the giant mutex, @c false if
     
    14841484 * @retval  VERR_GMM_
    14851485 *
    1486  * @param   pVM             Pointer to the shared VM structure.
    1487  * @param   idCpu           VCPU id
     1486 * @param   pVM             Pointer to the VM.
     1487 * @param   idCpu           The VCPU id.
    14881488 * @param   cBasePages      The number of pages that may be allocated for the base RAM and ROMs.
    14891489 *                          This does not include MMIO2 and similar.
     
    15611561 *
    15621562 * @returns see GMMR0InitialReservation.
    1563  * @param   pVM             Pointer to the shared VM structure.
    1564  * @param   idCpu           VCPU id
    1565  * @param   pReq            The request packet.
     1563 * @param   pVM             Pointer to the VM.
     1564 * @param   idCpu           The VCPU id.
     1565 * @param   pReq            Pointer to the request packet.
    15661566 */
    15671567GMMR0DECL(int) GMMR0InitialReservationReq(PVM pVM, VMCPUID idCpu, PGMMINITIALRESERVATIONREQ pReq)
     
    15841584 * @retval  VERR_GMM_MEMORY_RESERVATION_DECLINED
    15851585 *
    1586  * @param   pVM             Pointer to the shared VM structure.
    1587  * @param   idCpu           VCPU id
     1586 * @param   pVM             Pointer to the VM.
     1587 * @param   idCpu           The VCPU id.
    15881588 * @param   cBasePages      The number of pages that may be allocated for the base RAM and ROMs.
    15891589 *                          This does not include MMIO2 and similar.
     
    16551655 *
    16561656 * @returns see GMMR0UpdateReservation.
    1657  * @param   pVM             Pointer to the shared VM structure.
    1658  * @param   idCpu           VCPU id
    1659  * @param   pReq            The request packet.
     1657 * @param   pVM             Pointer to the VM.
     1658 * @param   idCpu           The VCPU id.
     1659 * @param   pReq            Pointer to the request packet.
    16601660 */
    16611661GMMR0DECL(int) GMMR0UpdateReservationReq(PVM pVM, VMCPUID idCpu, PGMMUPDATERESERVATIONREQ pReq)
     
    20242024 * @returns The new page descriptor table index.
    20252025 * @param   pGMM                Pointer to the GMM instance data.
    2026  * @param   hGVM                The VM handle.
     2026 * @param   hGVM                The global VM handle.
    20272027 * @param   pChunk              The chunk.
    20282028 * @param   iPage               The current page descriptor table index.
     
    24172417 *
    24182418 * @param   pGMM                Pointer to the GMM instance data.
    2419  * @param   pGVM                Pointer to the shared VM structure.
     2419 * @param   pGVM                Pointer to the VM.
    24202420 * @param   cPages              The number of pages to allocate.
    24212421 * @param   paPages             Pointer to the page descriptors.
     
    26302630 *          that is we're trying to allocate more than we've reserved.
    26312631 *
    2632  * @param   pVM                 Pointer to the shared VM structure.
    2633  * @param   idCpu               VCPU id
     2632 * @param   pVM                 Pointer to the VM.
     2633 * @param   idCpu               The VCPU id.
    26342634 * @param   cPagesToUpdate      The number of pages to update (starting from the head).
    26352635 * @param   cPagesToAlloc       The number of pages to allocate (starting from the head).
     
    28152815 *
    28162816 * This is typically used for ROMs and MMIO2 (VRAM) during VM creation.
    2817  * The allocated pages are not cleared and will contains random garbage.
     2817 * The allocated pages are not cleared and will contain random garbage.
    28182818 *
    28192819 * @returns VBox status code:
     
    28252825 *          that is we're trying to allocate more than we've reserved.
    28262826 *
    2827  * @param   pVM                 Pointer to the shared VM structure.
    2828  * @param   idCpu               VCPU id
     2827 * @param   pVM                 Pointer to the VM.
     2828 * @param   idCpu               The VCPU id.
    28292829 * @param   cPages              The number of pages to allocate.
    28302830 * @param   paPages             Pointer to the page descriptors.
     
    28902890 *
    28912891 * @returns see GMMR0AllocatePages.
    2892  * @param   pVM             Pointer to the shared VM structure.
    2893  * @param   idCpu           VCPU id
    2894  * @param   pReq            The request packet.
     2892 * @param   pVM             Pointer to the VM.
     2893 * @param   idCpu           The VCPU id.
     2894 * @param   pReq            Pointer to the request packet.
    28952895 */
    28962896GMMR0DECL(int) GMMR0AllocatePagesReq(PVM pVM, VMCPUID idCpu, PGMMALLOCATEPAGESREQ pReq)
     
    29252925 *          that is we're trying to allocate more than we've reserved.
    29262926 * @returns see GMMR0AllocatePages.
    2927  * @param   pVM             Pointer to the shared VM structure.
    2928  * @param   idCpu           VCPU id
    2929  * @param   cbPage          Large page size
     2927 * @param   pVM             Pointer to the VM.
     2928 * @param   idCpu           The VCPU id.
     2929 * @param   cbPage          Large page size.
    29302930 */
    29312931GMMR0DECL(int)  GMMR0AllocateLargePage(PVM pVM, VMCPUID idCpu, uint32_t cbPage, uint32_t *pIdPage, RTHCPHYS *pHCPhys)
     
    30273027
    30283028/**
    3029  * Free a large page
     3029 * Free a large page.
    30303030 *
    30313031 * @returns VBox status code:
    3032  * @param   pVM             Pointer to the shared VM structure.
    3033  * @param   idCpu           VCPU id
    3034  * @param   idPage          Large page id
     3032 * @param   pVM             Pointer to the VM.
     3033 * @param   idCpu           The VCPU id.
     3034 * @param   idPage          The large page id.
    30353035 */
    30363036GMMR0DECL(int)  GMMR0FreeLargePage(PVM pVM, VMCPUID idCpu, uint32_t idPage)
     
    30973097 *
    30983098 * @returns see GMMR0FreeLargePage.
    3099  * @param   pVM             Pointer to the shared VM structure.
    3100  * @param   idCpu           VCPU id
    3101  * @param   pReq            The request packet.
     3099 * @param   pVM             Pointer to the VM.
     3100 * @param   idCpu           The VCPU id.
     3101 * @param   pReq            Pointer to the request packet.
    31023102 */
    31033103GMMR0DECL(int) GMMR0FreeLargePageReq(PVM pVM, VMCPUID idCpu, PGMMFREELARGEPAGEREQ pReq)
     
    32763276 * @param   pGMM        Pointer to the GMM instance.
    32773277 * @param   pGVM        Pointer to the GVM instance.
    3278  * @param   idPage      The Page ID
     3278 * @param   idPage      The page id.
    32793279 * @param   pPage       The page structure.
    32803280 */
     
    33103310 * @param   pGMM        Pointer to the GMM instance.
    33113311 * @param   pGVM        Pointer to the GVM instance.
    3312  * @param   idPage      The Page ID
     3312 * @param   idPage      The page id.
    33133313 * @param   pPage       The page structure.
    33143314 */
     
    33343334 *
    33353335 * @param   pGMM                Pointer to the GMM instance data.
    3336  * @param   pGVM                Pointer to the shared VM structure.
     3336 * @param   pGVM                Pointer to the VM.
    33373337 * @param   cPages              The number of pages to free.
    33383338 * @param   paPages             Pointer to the page descriptors.
     
    34583458 * @retval  xxx
    34593459 *
    3460  * @param   pVM                 Pointer to the shared VM structure.
    3461  * @param   idCpu               VCPU id
     3460 * @param   pVM                 Pointer to the VM.
     3461 * @param   idCpu               The VCPU id.
    34623462 * @param   cPages              The number of pages to allocate.
    34633463 * @param   paPages             Pointer to the page descriptors containing the Page IDs for each page.
     
    35093509 *
    35103510 * @returns see GMMR0FreePages.
    3511  * @param   pVM             Pointer to the shared VM structure.
    3512  * @param   idCpu           VCPU id
    3513  * @param   pReq            The request packet.
     3511 * @param   pVM             Pointer to the VM.
     3512 * @param   idCpu           The VCPU id.
     3513 * @param   pReq            Pointer to the request packet.
    35143514 */
    35153515GMMR0DECL(int) GMMR0FreePagesReq(PVM pVM, VMCPUID idCpu, PGMMFREEPAGESREQ pReq)
     
    35473547 *          but to hope the VM won't use the memory that was returned to it.)
    35483548 *
    3549  * @param   pVM                 Pointer to the shared VM structure.
    3550  * @param   idCpu               VCPU id
    3551  * @param   enmAction           Inflate/deflate/reset
     3549 * @param   pVM                 Pointer to the VM.
     3550 * @param   idCpu               The VCPU id.
     3551 * @param   enmAction           Inflate/deflate/reset.
    35523552 * @param   cBalloonedPages     The number of pages that was ballooned.
    35533553 *
     
    36793679 *
    36803680 * @returns see GMMR0BalloonedPages.
    3681  * @param   pVM             Pointer to the shared VM structure.
    3682  * @param   idCpu           VCPU id
    3683  * @param   pReq            The request packet.
     3681 * @param   pVM             Pointer to the VM.
     3682 * @param   idCpu           The VCPU id.
     3683 * @param   pReq            Pointer to the request packet.
    36843684 */
    36853685GMMR0DECL(int) GMMR0BalloonedPagesReq(PVM pVM, VMCPUID idCpu, PGMMBALLOONEDPAGESREQ pReq)
     
    37013701 *
    37023702 * @returns VBox status code:
    3703  * @param   pVM             Pointer to the shared VM structure.
    3704  * @param   pReq            The request packet.
     3703 * @param   pVM             Pointer to the VM.
     3704 * @param   pReq            Pointer to the request packet.
    37053705 */
    37063706GMMR0DECL(int) GMMR0QueryHypervisorMemoryStatsReq(PVM pVM, PGMMMEMSTATSREQ pReq)
     
    37343734 *
    37353735 * @returns VBox status code:
    3736  * @param   pVM             Pointer to the shared VM structure.
     3736 * @param   pVM             Pointer to the VM.
    37373737 * @parma   idCpu           Cpu id.
    3738  * @param   pReq            The request packet.
     3738 * @param   pReq            Pointer to the request packet.
    37393739 */
    37403740GMMR0DECL(int)  GMMR0QueryMemoryStatsReq(PVM pVM, VMCPUID idCpu, PGMMMEMSTATSREQ pReq)
     
    41154115 *
    41164116 * @returns see GMMR0MapUnmapChunk.
    4117  * @param   pVM             Pointer to the shared VM structure.
    4118  * @param   pReq            The request packet.
     4117 * @param   pVM             Pointer to the VM.
     4118 * @param   pReq            Pointer to the request packet.
    41194119 */
    41204120GMMR0DECL(int)  GMMR0MapUnmapChunkReq(PVM pVM, PGMMMAPUNMAPCHUNKREQ pReq)
     
    41384138 *
    41394139 * @returns VBox status code.
    4140  * @param   pVM             The VM.
    4141  * @param   idCpu           VCPU id
     4140 * @param   pVM             Pointer to the VM.
     4141 * @param   idCpu           The VCPU id.
    41424142 * @param   pvR3            Pointer to the chunk size memory block to lock down.
    41434143 */
     
    44194419 *
    44204420 * @returns VBox status code.
    4421  * @param   pVM                 VM handle
    4422  * @param   idCpu               VCPU id
    4423  * @param   enmGuestOS          Guest OS type
    4424  * @param   pszModuleName       Module name
    4425  * @param   pszVersion          Module version
    4426  * @param   GCPtrModBase        Module base address
    4427  * @param   cbModule            Module size
    4428  * @param   cRegions            Number of shared region descriptors
    4429  * @param   paRegions           Shared region(s)
     4421 * @param   pVM                 Pointer to the VM.
     4422 * @param   idCpu               The VCPU id.
     4423 * @param   enmGuestOS          The guest OS type.
     4424 * @param   pszModuleName       The module name.
     4425 * @param   pszVersion          The module version.
     4426 * @param   GCPtrModBase        The module base address.
     4427 * @param   cbModule            The module size.
     4428 * @param   cRegions            The mumber of shared region descriptors.
     4429 * @param   paRegions           Pointer to an array of shared region(s).
    44304430 */
    44314431GMMR0DECL(int) GMMR0RegisterSharedModule(PVM pVM, VMCPUID idCpu, VBOXOSFAMILY enmGuestOS, char *pszModuleName,
     
    45664566 *
    45674567 * @returns see GMMR0RegisterSharedModule.
    4568  * @param   pVM             Pointer to the shared VM structure.
    4569  * @param   idCpu           VCPU id
    4570  * @param   pReq            The request packet.
     4568 * @param   pVM             Pointer to the VM.
     4569 * @param   idCpu           The VCPU id.
     4570 * @param   pReq            Pointer to the request packet.
    45714571 */
    45724572GMMR0DECL(int)  GMMR0RegisterSharedModuleReq(PVM pVM, VMCPUID idCpu, PGMMREGISTERSHAREDMODULEREQ pReq)
     
    45904590 *
    45914591 * @returns VBox status code.
    4592  * @param   pVM                 VM handle
    4593  * @param   idCpu               VCPU id
    4594  * @param   pszModuleName       Module name
    4595  * @param   pszVersion          Module version
    4596  * @param   GCPtrModBase        Module base address
    4597  * @param   cbModule            Module size
     4592 * @param   pVM                 Pointer to the VM.
     4593 * @param   idCpu               The VCPU id.
     4594 * @param   pszModuleName       The module name.
     4595 * @param   pszVersion          The module version.
     4596 * @param   GCPtrModBase        The module base address.
     4597 * @param   cbModule            The module size.
    45984598 */
    45994599GMMR0DECL(int) GMMR0UnregisterSharedModule(PVM pVM, VMCPUID idCpu, char *pszModuleName, char *pszVersion,
     
    46594659 *
    46604660 * @returns see GMMR0UnregisterSharedModule.
    4661  * @param   pVM             Pointer to the shared VM structure.
    4662  * @param   idCpu           VCPU id
    4663  * @param   pReq            The request packet.
     4661 * @param   pVM             Pointer to the VM.
     4662 * @param   idCpu           The VCPU id.
     4663 * @param   pReq            Pointer to the request packet.
    46644664 */
    46654665GMMR0DECL(int)  GMMR0UnregisterSharedModuleReq(PVM pVM, VMCPUID idCpu, PGMMUNREGISTERSHAREDMODULEREQ pReq)
     
    49604960 *
    49614961 * @returns VBox status code.
    4962  * @param   pVM                 VM handle
    4963  * @param   idCpu               VCPU id
     4962 * @param   pVM                 Pointer to the VM.
     4963 * @param   idCpu               The VCPU id.
    49644964 */
    49654965GMMR0DECL(int) GMMR0ResetSharedModules(PVM pVM, VMCPUID idCpu)
     
    50305030 *
    50315031 * @returns VBox status code.
    5032  * @param   pVM                 VM handle
     5032 * @param   pVM                 Pointer to the VM.
    50335033 */
    50345034GMMR0DECL(int) GMMR0CheckSharedModulesStart(PVM pVM)
     
    50565056 *
    50575057 * @returns VBox status code.
    5058  * @param   pVM                 VM handle
     5058 * @param   pVM                 Pointer to the VM.
    50595059 */
    50605060GMMR0DECL(int) GMMR0CheckSharedModulesEnd(PVM pVM)
     
    50765076 *
    50775077 * @returns VBox status code.
    5078  * @param   pVM                 VM handle
    5079  * @param   pVCpu               VMCPU handle
     5078 * @param   pVM                 Pointer to the VM.
     5079 * @param   pVCpu               Pointer to the VMCPU.
    50805080 */
    50815081GMMR0DECL(int) GMMR0CheckSharedModules(PVM pVM, PVMCPU pVCpu)
     
    51775177 *
    51785178 * @returns VBox status code.
    5179  * @param   pVM                 VM handle
    5180  * @param   pReq                Request packet
     5179 * @param   pVM                 Pointer to the VM.
     5180 * @param   pReq                Pointer to the request packet.
    51815181 */
    51825182GMMR0DECL(int) GMMR0FindDuplicatePageReq(PVM pVM, PGMMFINDDUPLICATEPAGEREQ pReq)
     
    52515251 * @param   pStats      Where to put the statistics.
    52525252 * @param   pSession    The current session.
    5253  * @param   pVM         The VM to obtain statistics for. Optional.
     5253 * @param   pVM         Pointer to the VM to obtain statistics for. Optional.
    52545254 */
    52555255GMMR0DECL(int) GMMR0QueryStatistics(PGMMSTATS pStats, PSUPDRVSESSION pSession, PVM pVM)
     
    53185318 *
    53195319 * @returns see GMMR0QueryStatistics.
    5320  * @param   pVM             Pointer to the shared VM structure. Optional.
    5321  * @param   pReq            The request packet.
     5320 * @param   pVM             Pointer to the VM. Optional.
     5321 * @param   pReq            Pointer to the request packet.
    53225322 */
    53235323GMMR0DECL(int) GMMR0QueryStatisticsReq(PVM pVM, PGMMQUERYSTATISTICSSREQ pReq)
     
    53545354 *
    53555355 * @returns see GMMR0ResetStatistics.
    5356  * @param   pVM             Pointer to the shared VM structure. Optional.
    5357  * @param   pReq            The request packet.
     5356 * @param   pVM             Pointer to the VM. Optional.
     5357 * @param   pReq            Pointer to the request packet.
    53585358 */
    53595359GMMR0DECL(int) GMMR0ResetStatisticsReq(PVM pVM, PGMMRESETSTATISTICSSREQ pReq)
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp

    r41312 r41776  
    538538
    539539/**
    540  * AMD specific initialization code.
     540 * AMD-specific initialization code.
    541541 */
    542542static void hmR0InitAmd(uint32_t u32FeaturesEDX)
     
    851851 *
    852852 * @returns VBox status code.
    853  * @param   pVM         VM handle (can be 0!)
     853 * @param   pVM         Pointer to the VM (can be 0).
    854854 * @param   idCpu       The identifier for the CPU the function is called on.
    855855 */
     
    903903 * RTOnce callback employed by HWACCMR0EnableAllCpus.
    904904 *
    905  * @returns VBox status code
    906  * @param   pvUser          The VM handle.
     905 * @returns VBox status code.
     906 * @param   pvUser          Pointer to the VM.
    907907 * @param   pvUserIgnore    NULL, ignored.
    908908 */
     
    991991 *
    992992 * @returns VBox status code.
    993  * @param   pVM                 The VM handle.
     993 * @param   pVM                 Pointer to the VM.
    994994 */
    995995VMMR0DECL(int) HWACCMR0EnableAllCpus(PVM pVM)
     
    10051005
    10061006/**
    1007  * Disable VT-x or AMD-V on the current CPU
     1007 * Disable VT-x or AMD-V on the current CPU.
    10081008 *
    10091009 * @returns VBox status code.
     
    10991099 * Called whenever a system power state change occurs.
    11001100 *
    1101  * @param   enmEvent        Power event
    1102  * @param   pvUser          User argument
     1101 * @param   enmEvent        The Power event.
     1102 * @param   pvUser          User argument.
    11031103 */
    11041104static DECLCALLBACK(void) hmR0PowerCallback(RTPOWEREVENT enmEvent, void *pvUser)
     
    11701170 *
    11711171 * @returns VBox status code.
    1172  * @param   pVM         The VM to operate on.
     1172 * @param   pVM         Pointer to the VM.
    11731173 */
    11741174VMMR0DECL(int) HWACCMR0InitVM(PVM pVM)
     
    12671267 *
    12681268 * @returns VBox status code.
    1269  * @param   pVM         The VM to operate on.
     1269 * @param   pVM         Pointer to the VM.
    12701270 */
    12711271VMMR0DECL(int) HWACCMR0TermVM(PVM pVM)
     
    13051305 *
    13061306 * @returns VBox status code.
    1307  * @param   pVM         The VM to operate on.
     1307 * @param   pVM         Pointer to the VM.
    13081308 */
    13091309VMMR0DECL(int) HWACCMR0SetupVM(PVM pVM)
     
    13561356
    13571357/**
    1358  * Enters the VT-x or AMD-V session
     1358 * Enters the VT-x or AMD-V session.
    13591359 *
    13601360 * @returns VBox status code.
    1361  * @param   pVM        The VM to operate on.
    1362  * @param   pVCpu      VMCPU handle.
     1361 * @param   pVM        Pointer to the VM.
     1362 * @param   pVCpu      Pointer to the VMCPU.
    13631363 *
    13641364 * @remarks This is called with preemption disabled.
     
    14301430
    14311431/**
    1432  * Leaves the VT-x or AMD-V session
     1432 * Leaves the VT-x or AMD-V session.
    14331433 *
    14341434 * @returns VBox status code.
    1435  * @param   pVM        The VM to operate on.
    1436  * @param   pVCpu      VMCPU handle.
     1435 * @param   pVM        Pointer to the VM.
     1436 * @param   pVCpu      Pointer to the VMCPU.
    14371437 *
    14381438 * @remarks Called with preemption disabled just like HWACCMR0Enter, our
     
    15061506 *
    15071507 * @returns VBox status code.
    1508  * @param   pVM         The VM to operate on.
     1508 * @param   pVM         Pointer to the VM.
    15091509 * @param   pVCpu       VMCPUD id.
    15101510 *
     
    15401540 *
    15411541 * @returns VBox status code.
    1542  * @param   pVM         VM handle.
    1543  * @param   pVCpu       VMCPU handle.
    1544  * @param   pCtx        CPU context
     1542 * @param   pVM         Pointer to the VM.
     1543 * @param   pVCpu       Pointer to the VMCPU.
     1544 * @param   pCtx        Pointer to the guest CPU context.
    15451545 */
    15461546VMMR0DECL(int)   HWACCMR0SaveFPUState(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx)
     
    15571557 *
    15581558 * @returns VBox status code.
    1559  * @param   pVM         VM handle.
    1560  * @param   pVCpu       VMCPU handle.
    1561  * @param   pCtx        CPU context
     1559 * @param   pVM         Pointer to the VM.
     1560 * @param   pVCpu       Pointer to the VMCPU.
     1561 * @param   pCtx        Pointer to the guest CPU context.
    15621562 */
    15631563VMMR0DECL(int)   HWACCMR0SaveDebugState(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx)
     
    15711571
    15721572/**
    1573  * Test the 32->64 bits switcher
     1573 * Test the 32->64 bits switcher.
    15741574 *
    15751575 * @returns VBox status code.
    1576  * @param   pVM         VM handle.
     1576 * @param   pVM         Pointer to the VM.
    15771577 */
    15781578VMMR0DECL(int)   HWACCMR0TestSwitcher3264(PVM pVM)
     
    15961596
    15971597/**
    1598  * Returns suspend status of the host
    1599  *
    1600  * @returns Suspend pending or not
     1598 * Returns suspend status of the host.
     1599 *
     1600 * @returns Suspend pending or not.
    16011601 */
    16021602VMMR0DECL(bool) HWACCMR0SuspendPending(void)
     
    16101610 * Keep in mind that there is no guarantee it will stay the same (long jumps to ring 3!!!).
    16111611 *
    1612  * @returns cpu structure pointer
     1612 * @returns The cpu structure pointer.
    16131613 */
    16141614VMMR0DECL(PHMGLOBLCPUINFO) HWACCMR0GetCurrentCpu(void)
     
    16241624 * Keep in mind that there is no guarantee it will stay the same (long jumps to ring 3!!!).
    16251625 *
    1626  * @returns cpu structure pointer
    1627  * @param   idCpu       id of the VCPU
     1626 * @returns The cpu structure pointer.
     1627 * @param   idCpu       id of the VCPU.
    16281628 */
    16291629VMMR0DECL(PHMGLOBLCPUINFO) HWACCMR0GetCurrentCpuEx(RTCPUID idCpu)
     
    16371637 * Save a pending IO read.
    16381638 *
    1639  * @param   pVCpu           The VMCPU to operate on.
    1640  * @param   GCPtrRip        Address of IO instruction
    1641  * @param   GCPtrRipNext    Address of the next instruction
    1642  * @param   uPort           Port address
    1643  * @param   uAndVal         And mask for saving the result in eax
    1644  * @param   cbSize          Read size
     1639 * @param   pVCpu           Pointer to the VMCPU.
     1640 * @param   GCPtrRip        Address of IO instruction.
     1641 * @param   GCPtrRipNext    Address of the next instruction.
     1642 * @param   uPort           Port address.
     1643 * @param   uAndVal         AND mask for saving the result in eax.
     1644 * @param   cbSize          Read size.
    16451645 */
    16461646VMMR0DECL(void) HWACCMR0SavePendingIOPortRead(PVMCPU pVCpu, RTGCPTR GCPtrRip, RTGCPTR GCPtrRipNext, unsigned uPort, unsigned uAndVal, unsigned cbSize)
     
    16591659 * Save a pending IO write.
    16601660 *
    1661  * @param   pVCpu           The VMCPU to operate on.
    1662  * @param   GCPtrRIP        Address of IO instruction
    1663  * @param   uPort           Port address
    1664  * @param   uAndVal         And mask for fetching the result from eax
    1665  * @param   cbSize          Read size
     1661 * @param   pVCpu           Pointer to the VMCPU.
     1662 * @param   GCPtrRIP        Address of IO instruction.
     1663 * @param   uPort           Port address.
     1664 * @param   uAndVal         AND mask for fetching the result from eax.
     1665 * @param   cbSize          Read size.
    16661666 */
    16671667VMMR0DECL(void) HWACCMR0SavePendingIOPortWrite(PVMCPU pVCpu, RTGCPTR GCPtrRip, RTGCPTR GCPtrRipNext, unsigned uPort, unsigned uAndVal, unsigned cbSize)
     
    16821682 *
    16831683 * @returns VBox status code.
    1684  * @param   pVM             VM handle.
    1685  * @param   pfVTxDisabled   VT-x was disabled or not (out).
     1684 * @param   pVM             Pointer to the VM.
     1685 * @param   pfVTxDisabled   Where to store whether VT-x was disabled or not.
    16861686 */
    16871687VMMR0DECL(int) HWACCMR0EnterSwitcher(PVM pVM, bool *pfVTxDisabled)
     
    17271727 *
    17281728 * @returns VBox status code.
    1729  * @param   pVM             VM handle.
    1730  * @param   fVTxDisabled    VT-x was disabled or not.
     1729 * @param   pVM             Pointer to the VM.
     1730 * @param   fVTxDisabled    Whether VT-x was disabled or not.
    17311731 */
    17321732VMMR0DECL(int) HWACCMR0LeaveSwitcher(PVM pVM, bool fVTxDisabled)
     
    17551755 *
    17561756 * @param   pDesc    Descriptor to dump.
    1757  * @param   Sel     Selector number.
    1758  * @param   pszMsg  Message to prepend the log entry with.
     1757 * @param   Sel      Selector number.
     1758 * @param   pszMsg   Message to prepend the log entry with.
    17591759 */
    17601760VMMR0DECL(void) HWACCMR0DumpDescriptor(PCX86DESCHC pDesc, RTSEL Sel, const char *pszMsg)
     
    18771877 * Formats a full register dump.
    18781878 *
    1879  * @param   pVM         The VM to operate on.
    1880  * @param   pVCpu       The VMCPU to operate on.
    1881  * @param   pCtx        The context to format.
     1879 * @param   pVM         Pointer to the VM.
     1880 * @param   pVCpu       Pointer to the VMCPU.
     1881 * @param   pCtx        Pointer to the CPU context.
    18821882 */
    18831883VMMR0DECL(void) HWACCMDumpRegs(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx)
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