Changeset 87519 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Feb 1, 2021 9:17:51 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142544
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/HMInternal.h
r87518 r87519 443 443 * Config value that is copied to HMR0PERVM::fAllow64BitGuests on setup. */ 444 444 bool fAllow64BitGuestsCfg; 445 /** Set when we initialize VT-x or AMD-V once for all CPUs. */ 446 bool fGlobalInit; 445 447 /** Set when TPR patching is allowed. */ 446 448 bool fTprPatchingAllowed; 447 /** Set when we initialize VT-x or AMD-V once for all CPUs. */448 bool fGlobalInit;449 449 /** Set when TPR patching is active. */ 450 450 bool fTPRPatchingActive; … … 452 452 * us to use the debug execution loop in ring-0. */ 453 453 bool fUseDebugLoop; 454 /** Set if hardware APIC virtualization is enabled. */ 454 /** Set if hardware APIC virtualization is enabled. 455 * @todo Not really used by HM, move to APIC where it's actually used. */ 455 456 bool fVirtApicRegs; 456 /** Set if posted interrupt processing is enabled. */ 457 /** Set if posted interrupt processing is enabled. 458 * @todo Not really used by HM, move to APIC where it's actually used. */ 457 459 bool fPostedIntrs; 458 /** Set if indirect branch prediction barrier on VM exit. */ 460 /** Set if indirect branch prediction barrier on VM exit. 461 * @todo 9217: copy to ring-0 and validate capability */ 459 462 bool fIbpbOnVmExit; 460 /** Set if indirect branch prediction barrier on VM entry. */ 463 /** Set if indirect branch prediction barrier on VM entry. 464 * @todo 9217: copy to ring-0 and validate capability */ 461 465 bool fIbpbOnVmEntry; 462 /** Set if level 1 data cache should be flushed on VM entry. */ 466 /** Set if level 1 data cache should be flushed on VM entry. 467 * @todo 9217: copy to ring-0 and validate capability */ 463 468 bool fL1dFlushOnVmEntry; 464 /** Set if level 1 data cache should be flushed on EMT scheduling. */ 469 /** Set if level 1 data cache should be flushed on EMT scheduling. 470 * @todo 9217: copy to ring-0 and validate capability */ 465 471 bool fL1dFlushOnSched; 466 /** Set if host manages speculation control settings. */ 472 /** Set if host manages speculation control settings. 473 * @todo doesn't do anything ... */ 467 474 bool fSpecCtrlByHost; 468 475 /** Set if MDS related buffers should be cleared on VM entry. */ … … 475 482 /** The maximum number of resumes loops allowed in ring-0 (safety precaution). 476 483 * This number is set much higher when RTThreadPreemptIsPending is reliable. */ 477 uint32_t cMaxResumeLoops ;484 uint32_t cMaxResumeLoopsCfg; 478 485 479 486 /** Maximum ASID allowed. */ … … 664 671 bool fAllow64BitGuests; 665 672 666 bool afAlignment0[6]; 673 bool afAlignment0[2]; 674 675 /** The maximum number of resumes loops allowed in ring-0 (safety precaution). 676 * This number is set much higher when RTThreadPreemptIsPending is reliable. */ 677 uint32_t cMaxResumeLoops; 667 678 668 679 /** SVM specific data. */
Note:
See TracChangeset
for help on using the changeset viewer.