VirtualBox

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


Ignore:
Timestamp:
Aug 11, 2023 8:46:44 PM (19 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158778
Message:

VMM/IEM: Implemented inlined TLB based stack accesses for 4 of the functions, 3 left. bugref:10369

File:
1 edited

Legend:

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

    r100860 r100863  
    517517 * @returns Tag value for indexing and comparing with IEMTLB::uTag.
    518518 * @param   a_pTlb      The TLB.
    519  * @param   a_GCPtr     The virtual address.
     519 * @param   a_GCPtr     The virtual address.  Must be RTGCPTR or same size or
     520 *                      the clearing of the top 16 bits won't work (if 32-bit
     521 *                      we'll end up with mostly zeros).
    520522 */
    521523#define IEMTLB_CALC_TAG(a_pTlb, a_GCPtr)    ( IEMTLB_CALC_TAG_NO_REV(a_GCPtr) | (a_pTlb)->uTlbRevision )
     
    523525 * Calculates the TLB tag for a virtual address but without TLB revision.
    524526 * @returns Tag value for indexing and comparing with IEMTLB::uTag.
    525  * @param   a_GCPtr     The virtual address.
     527 * @param   a_GCPtr     The virtual address.  Must be RTGCPTR or same size or
     528 *                      the clearing of the top 16 bits won't work (if 32-bit
     529 *                      we'll end up with mostly zeros).
    526530 */
    527531#define IEMTLB_CALC_TAG_NO_REV(a_GCPtr)     ( (((a_GCPtr) << 16) >> (GUEST_PAGE_SHIFT + 16)) )
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