USB: Increase debug chunk size from 64 to 128 bytes.

The queue head structure in EHCI is bigger than the previous debug
chunk size. Multiple allocations therefore overwrote eachother.
This commit is contained in:
Michael Lotz 2014-08-31 10:58:29 +02:00
parent 21c0d3131d
commit 9c0623a8f2

View File

@ -69,7 +69,7 @@ PhysicalMemoryAllocator::PhysicalMemoryAllocator(const char *name,
size_t roundedSize = biggestSize * minCountPerBlock; size_t roundedSize = biggestSize * minCountPerBlock;
#ifdef HAIKU_TARGET_PLATFORM_HAIKU #ifdef HAIKU_TARGET_PLATFORM_HAIKU
fDebugBase = roundedSize; fDebugBase = roundedSize;
fDebugChunkSize = 64; fDebugChunkSize = 128;
fDebugUseMap = 0; fDebugUseMap = 0;
roundedSize += sizeof(fDebugUseMap) * 8 * fDebugChunkSize; roundedSize += sizeof(fDebugUseMap) * 8 * fDebugChunkSize;
#endif #endif