The recently added load_kernel() tried to load the kernel again (there already
was a load_kernel() call above). Added a comment that might prevent me from doing that again... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5113 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -88,12 +88,11 @@ main(stage2_args *args)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// if everything is okay, continue booting
|
// if everything is okay, continue booting; the kernel
|
||||||
|
// is already loaded at this point and we definitely
|
||||||
|
// know our boot volume, too
|
||||||
if (status == B_OK) {
|
if (status == B_OK) {
|
||||||
register_boot_file_system(volume);
|
register_boot_file_system(volume);
|
||||||
|
|
||||||
if (load_kernel(args, volume) < B_OK)
|
|
||||||
panic("could not load kernel");
|
|
||||||
load_modules(args, volume);
|
load_modules(args, volume);
|
||||||
|
|
||||||
// ToDo: cleanup, heap_release() etc.
|
// ToDo: cleanup, heap_release() etc.
|
||||||
|
|||||||
Reference in New Issue
Block a user