Let the boot loader set the kernel image's name.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27754 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-09-27 00:33:20 +00:00
parent 0dc4d1e5ca
commit 1cd8c4cc08
2 changed files with 4 additions and 4 deletions

View File

@ -75,6 +75,8 @@ load_kernel(stage2_args *args, Directory *volume)
return status;
}
gKernelArgs.kernel_image.name = kernel_args_strdup(KERNEL_IMAGE);
return B_OK;
}

View File

@ -4052,8 +4052,6 @@ vm_init(kernel_args *args)
allocate_kernel_args(args);
args->kernel_image.name = "kernel";
// the lazy boot loader currently doesn't set the kernel's name...
create_preloaded_image_areas(&args->kernel_image);
// allocate areas for preloaded images