Changeset 101538 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Oct 21, 2023 10:30:50 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/IEMInternal.h
r101484 r101538 887 887 /** The IEMCPU::msRecompilerPollNow last time it was used. */ 888 888 uint32_t msLastUsed; 889 /** The allocation chunk this TB belongs to. */890 uint8_t idxAllocChunk;891 892 uint8_t abUnused[3];893 uint32_t uUnused;894 895 889 896 890 /** @name What uniquely identifies the block. … … 941 935 }; 942 936 943 /** Number of bytes of opcodes stored in pabOpcodes. */ 937 /** The allocation chunk this TB belongs to. */ 938 uint8_t idxAllocChunk; 939 uint8_t bUnused; 940 941 /** Number of bytes of opcodes stored in pabOpcodes. 942 * @todo this field isn't really needed, aRanges keeps the actual info. */ 944 943 uint16_t cbOpcodes; 945 /** The max storage available in the pabOpcodes block. */946 uint16_t cbOpcodesAllocated;947 944 /** Pointer to the opcode bytes this block was recompiled from. */ 948 945 uint8_t *pabOpcodes; 946 947 /** Debug info or smth. */ 948 void *pvDbg; 949 949 950 950 /* --- 64 byte cache line end --- */ … … 981 981 * The GCPhysPc w/o page offset is element zero, so starting here with 1. */ 982 982 RTGCPHYS aGCPhysPages[2]; 983 983 984 } IEMTB; 984 985 #pragma pack() 985 AssertCompileMemberOffset(IEMTB, x86, 36); 986 AssertCompileMemberOffset(IEMTB, cRanges, 38); 987 AssertCompileMemberOffset(IEMTB, Thrd, 40); 988 AssertCompileMemberOffset(IEMTB, Thrd.cCalls, 48); 989 AssertCompileMemberOffset(IEMTB, cbOpcodes, 52); 986 AssertCompileMemberAlignment(IEMTB, GCPhysPc, sizeof(RTGCPHYS)); 987 AssertCompileMemberAlignment(IEMTB, Thrd, sizeof(void *)); 988 AssertCompileMemberAlignment(IEMTB, pabOpcodes, sizeof(void *)); 989 AssertCompileMemberAlignment(IEMTB, pvDbg, sizeof(void *)); 990 AssertCompileMemberAlignment(IEMTB, aGCPhysPages, sizeof(RTGCPHYS)); 991 AssertCompileMemberOffset(IEMTB, aRanges[0], 64); 990 992 AssertCompileMemberSize(IEMTB, aRanges[0], 6); 991 993 #if 1 … … 1503 1505 * iemCImpl_sti code and subsequently cleared by the recompiler. */ 1504 1506 bool fTbCurInstrIsSti; 1507 /** The size of the IEMTB::pabOpcodes allocation in pThrdCompileTbR3. */ 1508 uint16_t cbOpcodesAllocated; 1505 1509 /** Spaced reserved for recompiler data / alignment. */ 1506 bool afRecompilerStuff1[ 2+4];1510 bool afRecompilerStuff1[4]; 1507 1511 /** The virtual sync time at the last timer poll call. */ 1508 1512 uint32_t msRecompilerPollNow;
Note:
See TracChangeset
for help on using the changeset viewer.