Forgot even more debug output...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16882 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-03-26 18:45:54 +00:00
parent 61106f7e86
commit 7d2fafcac5

View File

@ -1282,13 +1282,11 @@ load_kernel_add_on(const char *path)
continue;
length += ROUNDUP(programHeaders[i].p_memsz + (programHeaders[i].p_vaddr % B_PAGE_SIZE), B_PAGE_SIZE);
dprintf("[%ld] vaddr: %lx, memsz: %lx\n", i, programHeaders[i].p_vaddr,
programHeaders[i].p_memsz);
end = ROUNDUP(programHeaders[i].p_memsz + programHeaders[i].p_vaddr, B_PAGE_SIZE);
if (end > reservedSize)
reservedSize = end;
}
dprintf("-> reserved size %lx, length %lx\n", reservedSize, length);
// Check whether the segments have an unreasonable amount of unused space
// inbetween.