VirtualBox

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


Ignore:
Timestamp:
Jul 4, 2016 11:25:53 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108450
Message:

IEM,VM: Inserted two TLBS into the IEMCPU structure and reorged the VMCPU structure a little bit.

File:
1 edited

Legend:

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

    r61994 r62000  
    376376/**
    377377 * The per-CPU IEM state.
     378 *
     379 * @todo Re-org so most frequently accessed members are in the first 64 bytes.
    378380 */
    379381typedef struct IEMCPU
     
    591593    /** @} */
    592594
    593     uint32_t                u32Alignment6; /**< Alignment padding. */
     595    uint32_t                au32Alignment6[HC_ARCH_BITS == 64 ? 1 + 10 : 1 + 4]; /**< Alignment padding. */
     596
     597    /** Data TLB.
     598     * @remarks Must be 64-byte aligned. */
     599    IEMTLB                  DataTlb;
     600    /** Instruction TLB.
     601     * @remarks Must be 64-byte aligned. */
     602    IEMTLB                  CodeTlb;
    594603
    595604#ifdef IEM_VERIFICATION_MODE_FULL
     
    606615#endif
    607616} IEMCPU;
     617AssertCompileMemberAlignment(IEMCPU, DataTlb, 64);
     618AssertCompileMemberAlignment(IEMCPU, CodeTlb, 64);
    608619/** Pointer to the per-CPU IEM state. */
    609620typedef IEMCPU *PIEMCPU;
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