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:
parent
21c0d3131d
commit
9c0623a8f2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user