VirtualBox

Changeset 52068 in vbox for trunk/src


Ignore:
Timestamp:
Jul 17, 2014 7:16:30 AM (11 years ago)
Author:
vboxsync
Message:

VMM/HMSVMR0: Convert NMIs to TRPM_TRAP and not TRPM_HARDWARE_INT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r52066 r52068  
    23722372        switch (uVector)
    23732373        {
     2374            case X86_XCPT_NMI:
     2375            {
     2376                Event.n.u3Type = SVM_EVENT_NMI;
     2377                break;
     2378            }
     2379
    23742380            case X86_XCPT_PF:
    23752381            case X86_XCPT_DF:
     
    23872393    }
    23882394    else if (enmTrpmEvent == TRPM_HARDWARE_INT)
    2389     {
    2390         if (uVector == X86_XCPT_NMI)
    2391             Event.n.u3Type = SVM_EVENT_NMI;
    2392         else
    2393             Event.n.u3Type = SVM_EVENT_EXTERNAL_IRQ;
    2394     }
     2395        Event.n.u3Type = SVM_EVENT_EXTERNAL_IRQ;
    23952396    else if (enmTrpmEvent == TRPM_SOFTWARE_INT)
    23962397        Event.n.u3Type = SVM_EVENT_SOFTWARE_INT;
     
    24302431    {
    24312432        case SVM_EVENT_EXTERNAL_IRQ:
    2432         case SVM_EVENT_NMI:
    24332433           enmTrapType = TRPM_HARDWARE_INT;
    24342434           break;
     
    24372437            break;
    24382438        case SVM_EVENT_EXCEPTION:
     2439        case SVM_EVENT_NMI:
    24392440            enmTrapType = TRPM_TRAP;
    24402441            break;
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