- Timestamp:
- Jun 8, 2009 12:04:31 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mem.h
r13832 r20360 146 146 147 147 /** 148 * Free memory related to an virtual machine148 * Frees memory. 149 149 * 150 150 * @param pv Pointer to memory block. … … 159 159 * @param cb Size in bytes of the memory block to allocate. 160 160 */ 161 RTDECL(void *) 161 RTDECL(void *) RTMemExecAlloc(size_t cb) RT_NO_THROW; 162 162 163 163 /** … … 166 166 * @param pv Pointer to memory block. 167 167 */ 168 RTDECL(void) 168 RTDECL(void) RTMemExecFree(void *pv) RT_NO_THROW; 169 169 170 170 #if defined(IN_RING0) && defined(RT_ARCH_AMD64) && defined(RT_OS_LINUX) -
trunk/include/iprt/types.h
r19559 r20360 1204 1204 #define NIL_RTDBGMOD ((RTDBGMOD)0) 1205 1205 1206 /** Memory pool handle. */ 1207 typedef R3R0PTRTYPE(struct RTMEMPOOLINT *) RTMEMPOOL; 1208 /** Pointer to a memory pool handle. */ 1209 typedef RTMEMPOOL *PRTMEMPOOL; 1210 /** NIL memory pool handle. */ 1211 #define NIL_RTMEMPOOL ((RTMEMPOOL)0) 1212 /** The default memory pool handle. */ 1213 #define RTMEMPOOL_DEFAULT ((RTMEMPOOL)-2) 1214 1215 /** String cache handle. */ 1216 typedef R3R0PTRTYPE(struct RTSTRCACHEINT *) RTSTRCACHE; 1217 /** Pointer to a string cache handle. */ 1218 typedef RTSTRCACHE *PRTSTRCACHE; 1219 /** NIL string cache handle. */ 1220 #define NIL_RTSTRCACHE ((RTSTRCACHE)0) 1221 /** The default string cache handle. */ 1222 #define RTSTRCACHE_DEFAULT ((RTSTRCACHE)-2) 1223 1206 1224 1207 1225 /** -
trunk/src/VBox/Runtime/Makefile.kmk
r20355 r20360 287 287 generic/RTLogWriteUser-generic.cpp \ 288 288 generic/RTTimerLRCreate-generic.cpp \ 289 generic/mempool-generic.cpp \ 289 290 generic/semfastmutex-generic.cpp \ 290 291 generic/spinlock-generic.cpp \ 292 generic/strcache-stubs-generic.cpp \ 291 293 generic/timerlr-generic.cpp \ 292 294 r3/alloc-ef.cpp \ -
trunk/src/VBox/Runtime/common/dbg/dbgmod.cpp
r20356 r20360 142 142 143 143 144 /** 145 * Creates a module based on the default debug info container. 146 * 147 * This can be used to manually load a module and its symbol. 148 * 149 * @returns IPRT status code. 150 * 151 * @param phDbgMod Where to return the module handle. 152 * @param pszName The name of the module (mandatory). 153 * @param cb The size of the module. Must be greater than zero. 154 * @param fFlags Flags reserved for future extensions, MBZ for now. 155 */ 144 156 RTDECL(int) RTDbgModCreate(PRTDBGMOD phDbgMod, const char *pszName, RTUINTPTR cb, uint32_t fFlags) 145 157 { -
trunk/src/VBox/Runtime/common/dbg/dbgmodcontainer.cpp
r20356 r20360 152 152 153 153 /** 154 * Creates a 154 * Creates a generic debug info container and associates it with the module. 155 155 * 156 156 * @returns IPRT status code. -
trunk/src/VBox/Runtime/include/internal/magics.h
r19509 r20360 69 69 /** Dead magic number for RTMEMCACHEINT::u32Magic. */ 70 70 #define RTMEMCACHE_MAGIC_DEAD 0x20080305 71 /** The magic value for RTMEMPOOL::u32Magic. (Jane Austin) */ 72 #define RTMEMPOOL_MAGIC 0x17751216 73 /** The magic value for RTMEMPOOL::u32Magic after RTMemPoolDestroy. */ 74 #define RTMEMPOOL_MAGIC_DEAD 0x18170718 71 75 /** Magic number for heap blocks. (Edgar Allan Poe) */ 72 76 #define RTMEMHDR_MAGIC 0x18090119 … … 91 95 /** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */ 92 96 #define RTSPINLOCK_MAGIC 0x19480428 97 /** Magic value for RTSTRCACHE::u32Magic. (Sir Arthur Charles Clarke) */ 98 #define RTSTRCACHE_MAGIC 0x19171216 99 /** Magic value for RTSTRCACHE::u32Magic after RTStrCacheDestroy. */ 100 #define RTSTRCACHE_MAGIC_DEAD 0x20080319 93 101 /** The value of RTSTREAM::u32Magic for a valid stream. */ 94 102 #define RTSTREAM_MAGIC 0xe44e44ee
Note:
See TracChangeset
for help on using the changeset viewer.