Changeset 73203 in vbox for trunk/include
- Timestamp:
- Jul 18, 2018 1:00:43 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123808
- Location:
- trunk/include/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/err.h
r73199 r73203 229 229 /** Reason for leaving RC: The IRET resuming guest code trapped. */ 230 230 #define VINF_EM_RAW_IRET_TRAP 1139 231 /** Reason for leaving RC: Emulate (MM)IO intensive code in the recompiler. */232 #define VINF_EM_RAW_EMULATE_IO_BLOCK 1140233 231 /** The interpreter was unable to deal with the instruction at hand. */ 234 232 #define VERR_EM_INTERPRETER (-1148) -
trunk/include/VBox/vmm/hm.h
r72983 r73203 74 74 # define HMIsRawModeCtxNeeded(a_pVM) (!HMIsEnabled(a_pVM) || (a_pVM)->fHMNeedRawModeCtx) 75 75 #endif 76 77 /**78 * Check if the current CPU state is valid for emulating IO blocks in the recompiler79 *80 * @returns boolean81 * @param a_pVCpu Pointer to the shared virtual CPU structure.82 * @internal83 */84 #define HMCanEmulateIoBlock(a_pVCpu) (!CPUMIsGuestInPagedProtectedMode(a_pVCpu))85 86 /**87 * Check if the current CPU state is valid for emulating IO blocks in the recompiler88 *89 * @returns boolean90 * @param a_pCtx Pointer to the CPU context (within PVM).91 * @internal92 */93 #define HMCanEmulateIoBlockEx(a_pCtx) (!CPUMIsGuestInPagedProtectedModeEx(a_pCtx))94 76 95 77 /** … … 256 238 VMMR3_INT_DECL(bool) HMR3IsActive(PVMCPU pVCpu); 257 239 VMMR3_INT_DECL(void) HMR3PagingModeChanged(PVM pVM, PVMCPU pVCpu, PGMMODE enmShadowMode, PGMMODE enmGuestMode); 258 VMMR3_INT_DECL(int) HMR3EmulateIoBlock(PVM pVM, PCPUMCTX pCtx);259 VMMR3_INT_DECL(bool) HMR3HasPendingIOInstr(PVMCPU pVCpu);260 VMMR3_INT_DECL(VBOXSTRICTRC) HMR3RestartPendingIOInstr(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx);261 240 VMMR3_INT_DECL(int) HMR3EnablePatching(PVM pVM, RTGCPTR pPatchMem, unsigned cbPatchMem); 262 241 VMMR3_INT_DECL(int) HMR3DisablePatching(PVM pVM, RTGCPTR pPatchMem, unsigned cbPatchMem); -
trunk/include/VBox/vmm/pdmdev.h
r73097 r73203 3951 3951 3952 3952 /** 3953 * Checks if our current CPU state allows for IO block emulation fallback to the recompiler3954 *3955 * @returns true = yes, false = no3956 * @param pDevIns Device instance.3957 */3958 DECLR0CALLBACKMEMBER(bool, pfnCanEmulateIoBlock,(PPDMDEVINS pDevIns));3959 3960 /**3961 3953 * Gets the VMCPU handle. Restricted API. 3962 3954 * … … 4033 4025 4034 4026 /** Current PDMDEVHLP version number. */ 4035 #define PDM_DEVHLPR0_VERSION PDM_VERSION_MAKE(0xffe5, 7, 0)4027 #define PDM_DEVHLPR0_VERSION PDM_VERSION_MAKE(0xffe5, 8, 0) 4036 4028 4037 4029 … … 5381 5373 5382 5374 #endif /* IN_RING3 */ 5383 #ifdef IN_RING05384 5385 /**5386 * @copydoc PDMDEVHLPR0::pfnCanEmulateIoBlock5387 */5388 DECLINLINE(bool) PDMDevHlpCanEmulateIoBlock(PPDMDEVINS pDevIns)5389 {5390 return pDevIns->CTX_SUFF(pHlp)->pfnCanEmulateIoBlock(pDevIns);5391 }5392 5393 #endif /* IN_RING0 */5394 5395 5396 5397 5375 5398 5376 /** Pointer to callbacks provided to the VBoxDeviceRegister() call. */
Note:
See TracChangeset
for help on using the changeset viewer.