Changeset 101261 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Sep 25, 2023 11:57:08 PM (15 months ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllN8veRecompiler.cpp
r101258 r101261 777 777 Ptr = iemDwarfPutCfaOffset(Ptr, DWREG_AMD64_R15, 7); /* R15 = [CFA + 7*-8] */ 778 778 # elif defined(RT_ARCH_ARM64) 779 # if 1 779 780 Ptr = iemDwarfPutCfaDefCfa(Ptr, DWREG_ARM64_BP, 16); /* CFA = BP + 0x10 - first stack parameter */ 780 //Ptr = iemDwarfPutCfaDefCfa(Ptr, DWREG_ARM64_SP, IEMNATIVE_FRAME_VAR_SIZE + IEMNATIVE_FRAME_SAVE_REG_SIZE); 781 # else 782 Ptr = iemDwarfPutCfaDefCfa(Ptr, DWREG_ARM64_SP, IEMNATIVE_FRAME_VAR_SIZE + IEMNATIVE_FRAME_SAVE_REG_SIZE); 783 # endif 781 784 Ptr = iemDwarfPutCfaOffset(Ptr, DWREG_ARM64_LR, 1); /* Ret PC = [CFA + 1*-8] */ 782 785 Ptr = iemDwarfPutCfaOffset(Ptr, DWREG_ARM64_BP, 2); /* Ret BP = [CFA + 2*-8] */ -
trunk/src/VBox/VMM/VMMAll/IEMAllThrdRecompiler.cpp
r101245 r101261 2250 2250 { 2251 2251 pVCpu->iem.s.cTbExecNative++; 2252 typedef IEM_DECL_IMPL_TYPE(int, FNIEMNATIVETB, (PVMCPUCC pVCpu, PIEMTB pTb));2253 2252 # ifdef LOG_ENABLED 2254 2253 iemThreadedLogCurInstr(pVCpu, "EXn"); 2255 2254 # endif 2256 VBOXSTRICTRC const rcStrict = (( FNIEMNATIVETB *)pTb->Native.paInstructions)(pVCpu, pTb);2255 VBOXSTRICTRC const rcStrict = ((PFNIEMTBNATIVE)pTb->Native.paInstructions)(pVCpu); 2257 2256 if (RT_LIKELY( rcStrict == VINF_SUCCESS 2258 2257 && pVCpu->iem.s.rcPassUp == VINF_SUCCESS /** @todo this isn't great. */)) -
trunk/src/VBox/VMM/include/IEMInternal.h
r101203 r101261 779 779 typedef IEMTHRDEDCALLENTRY const *PCIEMTHRDEDCALLENTRY; 780 780 781 /** Native IEM TB 'function' typedef. 782 * This will throw/longjmp on occation. */ 783 typedef int FNIEMTBNATIVE(PVMCPUCC pVCpu) IEM_NOEXCEPT_MAY_LONGJMP; 784 /** Pointer to a native IEM TB entry point function. 785 * This will throw/longjmp on occation. */ 786 typedef FNIEMTBNATIVE *PFNIEMTBNATIVE; 787 788 781 789 /** 782 790 * Translation block. … … 836 844 struct 837 845 { 838 /** The native instructions . */846 /** The native instructions (PFNIEMTBNATIVE). */ 839 847 PIEMNATIVEINSTR paInstructions; 840 848 /** Number of instructions pointed to by paInstructions. */
Note:
See TracChangeset
for help on using the changeset viewer.