Now registers the boot device and loads the kernel.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5102 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-10-21 04:01:09 +00:00
parent 18562ebdd8
commit 9bf99ee93b
+4
View File
@@ -90,6 +90,10 @@ main(stage2_args *args)
// if everything is okay, continue booting // if everything is okay, continue booting
if (status == B_OK) { if (status == B_OK) {
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.