VirtualBox

Changeset 83014 in vbox for trunk


Ignore:
Timestamp:
Feb 7, 2020 9:24:01 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
136035
Message:

VMM/HM: Use X86_XCPT_LAST.

File:
1 edited

Legend:

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

    r82968 r83014  
    887887            rc = STAMR3RegisterF(pVM, &pHmCpu->paStatInjectedIrqs[j], STAMTYPE_COUNTER, STAMVISIBILITY_USED,
    888888                                 STAMUNIT_OCCURENCES, "Injected events.",
    889                                  j < 0x20 ? "/HM/CPU%u/EventInject/InjectTrap/%02X" : "/HM/CPU%u/EventInject/InjectIRQ/%02X",
     889                                 j <= X86_XCPT_LAST ? "/HM/CPU%u/EventInject/InjectTrap/%02X" : "/HM/CPU%u/EventInject/InjectIRQ/%02X",
    890890                                 idCpu, j);
    891891            AssertRC(rc);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette