Author: bonefish Date: 2011-05-11 21:10:26 +0200 (Wed, 11 May 2011) New Revision: 41446 Changeset: https://dev.haiku-os.org/changeset/41446 Modified: haiku/trunk/src/system/boot/platform/bios_ia32/mmu.cpp Log: mmu_allocate_physical(): The wrong base argument was passed to get_free_physical_address_range(). Fixes the debug syslog feature. Modified: haiku/trunk/src/system/boot/platform/bios_ia32/mmu.cpp =================================================================== --- haiku/trunk/src/system/boot/platform/bios_ia32/mmu.cpp 2011-05-11 18:05:05 UTC (rev 41445) +++ haiku/trunk/src/system/boot/platform/bios_ia32/mmu.cpp 2011-05-11 19:10:26 UTC (rev 41446) @@ -437,8 +437,8 @@ // check whether the physical range is still free phys_addr_t foundBase; if (!get_free_physical_address_range(gKernelArgs.physical_allocated_range, - gKernelArgs.num_physical_allocated_ranges, sNextPhysicalAddress, - size, &foundBase) || foundBase != base) { + gKernelArgs.num_physical_allocated_ranges, base, size, &foundBase) + || foundBase != base) { return false; }