VirtualBox

Changeset 49270 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Oct 24, 2013 9:15:49 AM (11 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Fix incorrect masking of TPR bits with TPR-shadowing.

File:
1 edited

Legend:

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

    r49269 r49270  
    30133013            if (fPendingIntr)
    30143014            {
    3015                 /* Bits 3-0 of the TPR threshold field correspond to bits 7-4 of the TPR (which is the Task-Priority Class). */
    3016                 const uint8_t u8PendingPriority = (u8PendingIntr >> 4);
    3017                 const uint8_t u8TprPriority     = (u8Tpr >> 4) & 7;
     3015                /* Bits 3:0 of the TPR threshold field correspond to bits 7:4 of the TPR (which is the Task-Priority Class). */
     3016                const uint8_t u8PendingPriority = (u8PendingIntr >> 4) & 0xf;
     3017                const uint8_t u8TprPriority     = (u8Tpr >> 4) & 0xf;
    30183018                if (u8PendingPriority <= u8TprPriority)
    30193019                    u32TprThreshold = u8PendingPriority;
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