Skip to content

Commit

Permalink
USB: Increase debug chunk size from 64 to 128 bytes.
Browse files Browse the repository at this point in the history
The queue head structure in EHCI is bigger than the previous debug
chunk size. Multiple allocations therefore overwrote eachother.
  • Loading branch information
mmlr committed Aug 31, 2014
1 parent 21c0d31 commit 9c0623a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -69,7 +69,7 @@ PhysicalMemoryAllocator::PhysicalMemoryAllocator(const char *name,
size_t roundedSize = biggestSize * minCountPerBlock;
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
fDebugBase = roundedSize;
fDebugChunkSize = 64;
fDebugChunkSize = 128;
fDebugUseMap = 0;
roundedSize += sizeof(fDebugUseMap) * 8 * fDebugChunkSize;
#endif
Expand Down

0 comments on commit 9c0623a

Please sign in to comment.