VirtualBox

Changeset 105411 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Jul 19, 2024 12:29:21 AM (4 months ago)
Author:
vboxsync
Message:

VMM/IEM: info itlb/dtlb improvements and fixes for global entries. [missing files] bugref:10687 bugref:10727

Location:
trunk/src/VBox/VMM/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/IEMInternal-armv8.h

    r105177 r105411  
    356356} IEMTLB;
    357357AssertCompileSizeAlignment(IEMTLB, 64);
     358/** The width (in bits) of the address portion of the TLB tag.   */
     359#define IEMTLB_TAG_ADDR_WIDTH   36
    358360/** IEMTLB::uTlbRevision increment.  */
    359 #define IEMTLB_REVISION_INCR    RT_BIT_64(36)
     361#define IEMTLB_REVISION_INCR    RT_BIT_64(IEMTLB_TAG_ADDR_WIDTH)
    360362/** IEMTLB::uTlbRevision mask.  */
    361 #define IEMTLB_REVISION_MASK    (~(RT_BIT_64(36) - 1))
     363#define IEMTLB_REVISION_MASK    (~(RT_BIT_64(IEMTLB_TAG_ADDR_WIDTH) - 1))
     364
    362365/** IEMTLB::uTlbPhysRev increment.
    363366 * @sa IEMTLBE_F_PHYS_REV */
  • trunk/src/VBox/VMM/include/IEMInternal.h

    r105359 r105411  
    661661} IEMTLB;
    662662AssertCompileSizeAlignment(IEMTLB, 64);
     663/** The width (in bits) of the address portion of the TLB tag.   */
     664#define IEMTLB_TAG_ADDR_WIDTH   36
    663665/** IEMTLB::uTlbRevision increment.  */
    664 #define IEMTLB_REVISION_INCR    RT_BIT_64(36)
     666#define IEMTLB_REVISION_INCR    RT_BIT_64(IEMTLB_TAG_ADDR_WIDTH)
    665667/** IEMTLB::uTlbRevision mask.  */
    666 #define IEMTLB_REVISION_MASK    (~(RT_BIT_64(36) - 1))
     668#define IEMTLB_REVISION_MASK    (~(RT_BIT_64(IEMTLB_TAG_ADDR_WIDTH) - 1))
     669
    667670/** IEMTLB::uTlbPhysRev increment.
    668671 * @sa IEMTLBE_F_PHYS_REV */
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