VirtualBox

Changeset 17334 in vbox for trunk/include


Ignore:
Timestamp:
Mar 4, 2009 9:26:26 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43710
Message:

Introduced PDMDevHlpCanEmulateIoBlock

File:
1 edited

Legend:

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

    r17251 r17334  
    30673067    DECLR0CALLBACKMEMBER(PVM, pfnGetVM,(PPDMDEVINS pDevIns));
    30683068
     3069    /**
     3070     * Checks if our current CPU state allows for IO block emulation fallback to the recompiler
     3071     *
     3072     * @returns true = yes, false = no
     3073     * @param   pDevIns         Device instance.
     3074     */
     3075    DECLR0CALLBACKMEMBER(bool, pfnCanEmulateIoBlock,(PPDMDEVINS pDevIns));
     3076
    30693077    /** Just a safety precaution. */
    30703078    uint32_t                        u32TheEnd;
     
    30763084
    30773085/** Current PDMDEVHLP version number. */
    3078 #define PDM_DEVHLPR0_VERSION  0xfb010000
     3086#define PDM_DEVHLPR0_VERSION  0xfb020000
    30793087
    30803088
     
    36623670}
    36633671
     3672#ifdef IN_RING0
     3673/**
     3674 * @copydoc PDMDEVHLPR0::pfnCanEmulateIoBlock
     3675 */
     3676DECLINLINE(bool) PDMDevHlpCanEmulateIoBlock(PPDMDEVINS pDevIns)
     3677{
     3678    return pDevIns->CTX_SUFF(pDevHlp)->pfnCanEmulateIoBlock(pDevIns);
     3679}
     3680#endif
     3681
    36643682/**
    36653683 * @copydoc PDMDEVHLPR3::pfnPCISetIrq
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