Changeset 100863 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Aug 11, 2023 8:46:44 PM (19 months ago)
- svn:sync-xref-src-repo-rev:
- 158778
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/IEMInternal.h
r100860 r100863 517 517 * @returns Tag value for indexing and comparing with IEMTLB::uTag. 518 518 * @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). 520 522 */ 521 523 #define IEMTLB_CALC_TAG(a_pTlb, a_GCPtr) ( IEMTLB_CALC_TAG_NO_REV(a_GCPtr) | (a_pTlb)->uTlbRevision ) … … 523 525 * Calculates the TLB tag for a virtual address but without TLB revision. 524 526 * @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). 526 530 */ 527 531 #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.