Rev 1978 | Rev 1997 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1978 | Rev 1979 | ||
|---|---|---|---|
| Line 96... | Line 96... | ||
| 96 | 96 | ||
| 97 | printf("\nCanonizing OpenFirmware device tree..."); |
97 | printf("\nCanonizing OpenFirmware device tree..."); |
| 98 | bootinfo.ofw_root = ofw_tree_build(); |
98 | bootinfo.ofw_root = ofw_tree_build(); |
| 99 | printf("done.\n"); |
99 | printf("done.\n"); |
| 100 | 100 | ||
| - | 101 | #ifdef CONFIG_SMP |
|
| 101 | printf("\nChecking for secondary processors..."); |
102 | printf("\nChecking for secondary processors..."); |
| 102 | if (!ofw_cpu()) |
103 | if (!ofw_cpu()) |
| 103 | printf("Error: unable to get CPU properties\n"); |
104 | printf("Error: unable to get CPU properties\n"); |
| 104 | printf("done.\n"); |
105 | printf("done.\n"); |
| - | 106 | #endif |
|
| 105 | 107 | ||
| 106 | printf("\nBooting the kernel...\n"); |
108 | printf("\nBooting the kernel...\n"); |
| 107 | jump_to_kernel((void *) KERNEL_VIRTUAL_ADDRESS, |
109 | jump_to_kernel((void *) KERNEL_VIRTUAL_ADDRESS, |
| 108 | bootinfo.physmem_start | BSP_PROCESSOR, &bootinfo, sizeof(bootinfo)); |
110 | bootinfo.physmem_start | BSP_PROCESSOR, &bootinfo, sizeof(bootinfo)); |
| 109 | } |
111 | } |