VirtualBox

Changeset 73203 in vbox for trunk/include


Ignore:
Timestamp:
Jul 18, 2018 1:00:43 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123808
Message:

VMM, Devices: bugref:9193 Remove unused code after using EMRZSetPendingIoPort[Read|Write].

Location:
trunk/include/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/err.h

    r73199 r73203  
    229229/** Reason for leaving RC: The IRET resuming guest code trapped. */
    230230#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        1140
    233231/** The interpreter was unable to deal with the instruction at hand. */
    234232#define VERR_EM_INTERPRETER                 (-1148)
  • trunk/include/VBox/vmm/hm.h

    r72983 r73203  
    7474# define HMIsRawModeCtxNeeded(a_pVM)        (!HMIsEnabled(a_pVM) || (a_pVM)->fHMNeedRawModeCtx)
    7575#endif
    76 
    77  /**
    78  * Check if the current CPU state is valid for emulating IO blocks in the recompiler
    79  *
    80  * @returns boolean
    81  * @param   a_pVCpu     Pointer to the shared virtual CPU structure.
    82  * @internal
    83  */
    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 recompiler
    88  *
    89  * @returns boolean
    90  * @param   a_pCtx      Pointer to the CPU context (within PVM).
    91  * @internal
    92  */
    93 #define HMCanEmulateIoBlockEx(a_pCtx)       (!CPUMIsGuestInPagedProtectedModeEx(a_pCtx))
    9476
    9577/**
     
    256238VMMR3_INT_DECL(bool)            HMR3IsActive(PVMCPU pVCpu);
    257239VMMR3_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);
    261240VMMR3_INT_DECL(int)             HMR3EnablePatching(PVM pVM, RTGCPTR pPatchMem, unsigned cbPatchMem);
    262241VMMR3_INT_DECL(int)             HMR3DisablePatching(PVM pVM, RTGCPTR pPatchMem, unsigned cbPatchMem);
  • trunk/include/VBox/vmm/pdmdev.h

    r73097 r73203  
    39513951
    39523952    /**
    3953      * Checks if our current CPU state allows for IO block emulation fallback to the recompiler
    3954      *
    3955      * @returns true = yes, false = no
    3956      * @param   pDevIns         Device instance.
    3957      */
    3958     DECLR0CALLBACKMEMBER(bool, pfnCanEmulateIoBlock,(PPDMDEVINS pDevIns));
    3959 
    3960     /**
    39613953     * Gets the VMCPU handle. Restricted API.
    39623954     *
     
    40334025
    40344026/** 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)
    40364028
    40374029
     
    53815373
    53825374#endif /* IN_RING3 */
    5383 #ifdef IN_RING0
    5384 
    5385 /**
    5386  * @copydoc PDMDEVHLPR0::pfnCanEmulateIoBlock
    5387  */
    5388 DECLINLINE(bool) PDMDevHlpCanEmulateIoBlock(PPDMDEVINS pDevIns)
    5389 {
    5390     return pDevIns->CTX_SUFF(pHlp)->pfnCanEmulateIoBlock(pDevIns);
    5391 }
    5392 
    5393 #endif /* IN_RING0 */
    5394 
    5395 
    5396 
    53975375
    53985376/** Pointer to callbacks provided to the VBoxDeviceRegister() call. */
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