From 9c0623a8f243b55e8679fa703bfc11347cad66d7 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sun, 31 Aug 2014 10:58:29 +0200 Subject: [PATCH] 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. --- src/add-ons/kernel/bus_managers/usb/PhysicalMemoryAllocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/bus_managers/usb/PhysicalMemoryAllocator.cpp b/src/add-ons/kernel/bus_managers/usb/PhysicalMemoryAllocator.cpp index c86dbd01f1..5ef971b325 100644 --- a/src/add-ons/kernel/bus_managers/usb/PhysicalMemoryAllocator.cpp +++ b/src/add-ons/kernel/bus_managers/usb/PhysicalMemoryAllocator.cpp @@ -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