Changeset 100356 in vbox for trunk/include/iprt
- Timestamp:
- Jul 4, 2023 6:41:38 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/memobj.h
r100355 r100356 281 281 /** 282 282 * Allocates page aligned virtual kernel memory with contiguous physical backing 283 * (default tag).283 * below 4GB (default tag). 284 284 * 285 285 * The physical memory backing the allocation is fixed. … … 288 288 * @param pMemObj Where to store the ring-0 memory object handle. 289 289 * @param cb Number of bytes to allocate. This is rounded up to nearest page. 290 * @param PhysHighest The highest permitable address (inclusive).291 * Pass NIL_RTHCPHYS if any address is acceptable.292 290 * @param fExecutable Flag indicating whether it should be permitted to 293 291 * executed code in the memory object. The user must … … 295 293 * allocation to actually make it executable. 296 294 */ 297 #define RTR0MemObjAllocCont(pMemObj, cb, PhysHigest,fExecutable) \298 RTR0MemObjAllocContTag((pMemObj), (cb), ( PhysHigest), (fExecutable), RTMEM_TAG)299 300 /** 301 * Allocates page aligned virtual kernel memory with contiguous physical 302 * b acking(custom tag).295 #define RTR0MemObjAllocCont(pMemObj, cb, fExecutable) \ 296 RTR0MemObjAllocContTag((pMemObj), (cb), (fExecutable), RTMEM_TAG) 297 298 /** 299 * Allocates page aligned virtual kernel memory with contiguous physical backing 300 * below 4GB (custom tag). 303 301 * 304 302 * The physical memory backing the allocation is fixed. … … 307 305 * @param pMemObj Where to store the ring-0 memory object handle. 308 306 * @param cb Number of bytes to allocate. This is rounded up to nearest page. 309 * @param PhysHighest The highest permitable address (inclusive).310 * Pass NIL_RTHCPHYS if any address is acceptable.311 307 * @param fExecutable Flag indicating whether it should be permitted to 312 308 * executed code in the memory object. The user must … … 315 311 * @param pszTag Allocation tag used for statistics and such. 316 312 */ 317 RTR0DECL(int) RTR0MemObjAllocContTag(PRTR0MEMOBJ pMemObj, size_t cb, RTHCPHYS PhysHighest,bool fExecutable, const char *pszTag);313 RTR0DECL(int) RTR0MemObjAllocContTag(PRTR0MEMOBJ pMemObj, size_t cb, bool fExecutable, const char *pszTag); 318 314 319 315 /**
Note:
See TracChangeset
for help on using the changeset viewer.