VirtualBox

Changeset 102691 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Dec 22, 2023 8:58:51 AM (14 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160858
Message:

VMM/CPUM: bugref:10498 Doxygen.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp

    r102690 r102691  
    31683168 * Inserts variable-range MTRR MSR ranges based on the given count.
    31693169 * 
    3170  * Since we need to insert the MSRs beyond what the CPU profile has inserted, we 
     3170 * Since we need to insert the MSRs beyond what the CPU profile has inserted, we
    31713171 * reinsert the whole range here since the variable-range MTRR MSR read+write
    31723172 * functions handle ranges as well as the \#GP checking.
    3173  * 
     3173 *
    31743174 * @returns VBox status code.
    31753175 * @param   pVM         The cross context VM structure.
    3176  * @param   cVarMtrrs   The number of variable-range MTRRs to insert. This must be 
     3176 * @param   cVarMtrrs   The number of variable-range MTRRs to insert. This must be
    31773177 *                      less than or equal to CPUMCTX_MAX_MTRRVAR_COUNT.
    31783178 */
     
    35573557                /** @cfgm{/CPUM/MtrrRead, boolean, false}
    35583558                 * Whether to enable MTRR read support and to initialize mapping of guest memory via
    3559                  * MTRRs. When disabled, MTRRs are left blank, returns 0 on reads and ignores 
     3559                 * MTRRs. When disabled, MTRRs are left blank, returns 0 on reads and ignores
    35603560                 * writes. Some guests like GNU/Linux recognize a virtual system when MTRRs are left
    3561                  * blank but some guests may expect their RAM to be mapped via MTRRs similar to 
     3561                 * blank but some guests may expect their RAM to be mapped via MTRRs similar to
    35623562                 * real hardware. */
    35633563                rc = CFGMR3QueryBoolDef(pCpumCfg, "MtrrRead", &pVM->cpum.s.fMtrrRead, false);
     
    35713571            {
    35723572                /** @cfgm{/CPUM/MtrrVarCountIsVirtual, boolean, true}
    3573                  * When enabled, the number of variable-range MTRRs are virtualized. When disabled, 
     3573                 * When enabled, the number of variable-range MTRRs are virtualized. When disabled,
    35743574                 * the number of variable-range MTRRs are derived from the CPU profile. Unless
    35753575                 * guests have problems with the virtualized variable-range MTRR count, it is
    3576                  * recommended to keep this enabled so that there are sufficient MTRRs to fully 
    3577                  * describe all regions of the guest RAM. */ 
     3576                 * recommended to keep this enabled so that there are sufficient MTRRs to fully
     3577                 * describe all regions of the guest RAM. */
    35783578                bool fMtrrVarCountIsVirt;
    35793579                rc = CFGMR3QueryBoolDef(pCpumCfg, "MtrrVarCountIsVirtual", &fMtrrVarCountIsVirt, true);
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