Changeset 12772 in vbox for trunk/include
- Timestamp:
- Sep 26, 2008 4:13:09 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 37112
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/iom.h
r12566 r12772 43 43 44 44 /** @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. 47 48 */ 48 49 #define IOM_NO_PDMINS_CHECKS … … 239 240 R3PTRTYPE(PFNIOMIOPORTOUTSTRING) pfnOutStringCallback, R3PTRTYPE(PFNIOMIOPORTINSTRING) pfnInStringCallback, 240 241 const char *pszDesc); 241 IOMR3DECL(int) IOMR3IOPortRegister GC(PVM pVM, PPDMDEVINS pDevIns, RTIOPORT PortStart, RTUINT cPorts, RTRCPTR pvUser,242 IOMR3DECL(int) IOMR3IOPortRegisterRC(PVM pVM, PPDMDEVINS pDevIns, RTIOPORT PortStart, RTUINT cPorts, RTRCPTR pvUser, 242 243 RCPTRTYPE(PFNIOMIOPORTOUT) pfnOutCallback, RCPTRTYPE(PFNIOMIOPORTIN) pfnInCallback, 243 244 RCPTRTYPE(PFNIOMIOPORTOUTSTRING) pfnOutStrCallback, RCPTRTYPE(PFNIOMIOPORTINSTRING) pfnInStrCallback, … … 257 258 R0PTRTYPE(PFNIOMMMIOREAD) pfnReadCallback, 258 259 R0PTRTYPE(PFNIOMMMIOFILL) pfnFillCallback); 259 IOMR3DECL(int) IOMR3MMIORegister GC(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, RTGCPTR pvUser,260 IOMR3DECL(int) IOMR3MMIORegisterRC(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, RTGCPTR pvUser, 260 261 RCPTRTYPE(PFNIOMMMIOWRITE) pfnWriteCallback, 261 262 RCPTRTYPE(PFNIOMMMIOREAD) pfnReadCallback, -
trunk/include/VBox/mm.h
r11291 r12772 307 307 308 308 309 /** @def MMHYPER_ GC_ASSERT_GCPTR309 /** @def MMHYPER_RC_ASSERT_RCPTR 310 310 * Asserts that an address is either NULL or inside the hypervisor memory area. 311 311 * This assertion only works while IN_GC, it's a NOP everywhere else. … … 313 313 */ 314 314 #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) 318 318 #endif 319 319
Note:
See TracChangeset
for help on using the changeset viewer.