Changeset 28326 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Apr 14, 2010 8:44:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/alloc-ef.cpp
r28317 r28326 332 332 void *pv = (char *)pvEFence + RTALLOC_EFENCE_SIZE; 333 333 # ifdef RTALLOC_EFENCE_NOMAN_FILLER 334 memset((char *)pv + cb , RTALLOC_EFENCE_NOMAN_FILLER, cbBlock - RTALLOC_EFENCE_SIZE - cbUnaligned);334 memset((char *)pv + cbUnaligned, RTALLOC_EFENCE_NOMAN_FILLER, cbBlock - RTALLOC_EFENCE_SIZE - cbUnaligned); 335 335 # endif 336 336 #else … … 408 408 */ 409 409 # ifdef RTALLOC_EFENCE_IN_FRONT 410 void *pvWrong = ASMMemIsAll8((char *)pv + pBlock->cb ,411 RT_ALIGN_Z(pBlock->cb , PAGE_SIZE) - pBlock->cb,410 void *pvWrong = ASMMemIsAll8((char *)pv + pBlock->cbUnaligned, 411 RT_ALIGN_Z(pBlock->cbAligned, PAGE_SIZE) - pBlock->cbUnaligned, 412 412 RTALLOC_EFENCE_NOMAN_FILLER); 413 413 # else
Note:
See TracChangeset
for help on using the changeset viewer.