Changeset 11153 in vbox for trunk/include
- Timestamp:
- Aug 5, 2008 10:47:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/mm.h
r11150 r11153 246 246 } 247 247 #endif 248 #define MMHyperGCToCC(pVM, RCPtr) MMHyperRCToCC(pVM, RCPtr) 248 #define MMHyperGCToCC(pVM, RCPtr) MMHyperRCToCC(pVM, RCPtr) /**< @deprecated */ 249 249 250 250 #ifndef IN_RING3 … … 269 269 270 270 #ifndef IN_GC 271 MMDECL(RCPTRTYPE(void *)) MMHyperCCToGC(PVM pVM, void *pv); 272 #else 273 DECLINLINE(RCPTRTYPE(void *)) MMHyperCCToGC(PVM pVM, void *pv) 274 { 275 NOREF(pVM); 276 return (RCPTRTYPE(void *))pv; 277 } 278 #endif 271 MMDECL(RTRCPTR) MMHyperCCToRC(PVM pVM, void *pv); 272 #else 273 DECLINLINE(RTRCPTR) MMHyperCCToRC(PVM pVM, void *pv) 274 { 275 NOREF(pVM); 276 return (RTRCPTR)pv; 277 } 278 #endif 279 #define MMHyperCCToGC(pVM, pv) MMHyperCCToRC(pVM, pv) /** @deprecated */ 279 280 280 281 … … 289 290 #endif 290 291 291 292 MMDECL(RCPTRTYPE(void *)) MMHyperHC2GC(PVM pVM, RTHCPTR HCPtr); 293 MMDECL(RTHCPTR) MMHyperGC2HC(PVM pVM, RCPTRTYPE(void *) GCPtr); 292 #define MMHyperHC2GC(pVM, R3Ptr) MMHyperR3ToRC((pVM), (R3Ptr)) /**< @deprecated */ 293 #define MMHyperGC2HC(pVM, RCPtr) MMHyperRCToR3((pVM), (RCPtr)) /**< @deprecated */ 294 295 294 296 MMDECL(int) MMHyperAlloc(PVM pVM, size_t cb, uint32_t uAlignment, MMTAG enmTag, void **ppv); 295 297 MMDECL(int) MMHyperFree(PVM pVM, void *pv);
Note:
See TracChangeset
for help on using the changeset viewer.