From a6c27d152dfdb8e17c8fa5a2be4628fc2d8ed550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 21 Oct 2003 05:38:01 +0000 Subject: [PATCH] Now prints out a message when the allocation function is called. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5112 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/kernel/boot/loader/platform_mmu.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tests/kernel/boot/loader/platform_mmu.cpp b/src/tests/kernel/boot/loader/platform_mmu.cpp index bfee478d77..5e3f8c3a69 100644 --- a/src/tests/kernel/boot/loader/platform_mmu.cpp +++ b/src/tests/kernel/boot/loader/platform_mmu.cpp @@ -5,12 +5,17 @@ #include + #include +#include status_t platform_allocate_region(void **_address, size_t size, uint8 protection) { + printf("platform_allocate_region(address = %p, size = %lu, protection = %u)\n", + *_address, size, protection); + void *address = malloc(size); if (address == NULL) return B_NO_MEMORY;