VirtualBox

Changeset 12772 in vbox for trunk/include


Ignore:
Timestamp:
Sep 26, 2008 4:13:09 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37112
Message:

#1865: IOM.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r12566 r12772  
    4343
    4444/** @def IOM_NO_PDMINS_CHECKS
    45  * Untill all devices have been fully adjusted to PDM style, the pPdmIns parameter
    46  * is not checked by IOM.
     45 * Until all devices have been fully adjusted to PDM style, the pPdmIns
     46 * parameter is not checked by IOM.
     47 * @todo Check this again, now.
    4748 */
    4849#define IOM_NO_PDMINS_CHECKS
     
    239240                                      R3PTRTYPE(PFNIOMIOPORTOUTSTRING) pfnOutStringCallback, R3PTRTYPE(PFNIOMIOPORTINSTRING) pfnInStringCallback,
    240241                                      const char *pszDesc);
    241 IOMR3DECL(int)  IOMR3IOPortRegisterGC(PVM pVM, PPDMDEVINS pDevIns, RTIOPORT PortStart, RTUINT cPorts, RTRCPTR pvUser,
     242IOMR3DECL(int)  IOMR3IOPortRegisterRC(PVM pVM, PPDMDEVINS pDevIns, RTIOPORT PortStart, RTUINT cPorts, RTRCPTR pvUser,
    242243                                      RCPTRTYPE(PFNIOMIOPORTOUT) pfnOutCallback, RCPTRTYPE(PFNIOMIOPORTIN) pfnInCallback,
    243244                                      RCPTRTYPE(PFNIOMIOPORTOUTSTRING) pfnOutStrCallback, RCPTRTYPE(PFNIOMIOPORTINSTRING) pfnInStrCallback,
     
    257258                                    R0PTRTYPE(PFNIOMMMIOREAD)  pfnReadCallback,
    258259                                    R0PTRTYPE(PFNIOMMMIOFILL)  pfnFillCallback);
    259 IOMR3DECL(int)  IOMR3MMIORegisterGC(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, RTGCPTR pvUser,
     260IOMR3DECL(int)  IOMR3MMIORegisterRC(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, RTGCPTR pvUser,
    260261                                    RCPTRTYPE(PFNIOMMMIOWRITE) pfnWriteCallback,
    261262                                    RCPTRTYPE(PFNIOMMMIOREAD)  pfnReadCallback,
  • trunk/include/VBox/mm.h

    r11291 r12772  
    307307
    308308
    309 /** @def MMHYPER_GC_ASSERT_GCPTR
     309/** @def MMHYPER_RC_ASSERT_RCPTR
    310310 * Asserts that an address is either NULL or inside the hypervisor memory area.
    311311 * This assertion only works while IN_GC, it's a NOP everywhere else.
     
    313313 */
    314314#ifdef IN_GC
    315 # define MMHYPER_GC_ASSERT_GCPTR(pVM, GCPtr)   Assert(MMHyperIsInsideArea((pVM), (GCPtr)) || !(GCPtr))
    316 #else
    317 # define MMHYPER_GC_ASSERT_GCPTR(pVM, GCPtr)   do { } while (0)
     315# define MMHYPER_RC_ASSERT_RCPTR(pVM, RCPtr)   Assert(MMHyperIsInsideArea((pVM), (RTRCUINTPTR)(RCPtr)) || !(RCPtr))
     316#else
     317# define MMHYPER_RC_ASSERT_RCPTR(pVM, RCPtr)   do { } while (0)
    318318#endif
    319319
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