Changes in boot/arch/sparc64/src/main.c [339249f:4872160] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified boot/arch/sparc64/src/main.c ¶
r339249f r4872160 101 101 * an unknown value of the "compatible" property is encountered. 102 102 */ 103 if (str_cmp(compatible, "sun4u") != 0) 104 printf("Warning: Unknown architecture, assuming sun4u.\n"); 103 printf("Warning: Unknown architecture, assuming sun4u.\n"); 105 104 arch = ARCH_SUN4U; 106 105 } else … … 206 205 207 206 void *bootinfo_pa = ofw_translate(&bootinfo); 208 void *kernel_address_pa = ofw_translate((void *) KERNEL_ADDRESS);209 207 void *loader_address_pa = ofw_translate((void *) LOADER_ADDRESS); 210 208 … … 212 210 bootinfo.memmap.total >> 20, bootinfo.physmem_start); 213 211 printf(" %p|%p: boot info structure\n", &bootinfo, bootinfo_pa); 214 printf(" %p|%p: kernel entry point\n", KERNEL_ADDRESS, kernel_address_pa);215 printf(" %p|%p: loader entry po int\n", LOADER_ADDRESS, loader_address_pa);212 printf(" %p|%p: kernel entry point\n", KERNEL_ADDRESS, KERNEL_ADDRESS); 213 printf(" %p|%p: loader entry pount\n", LOADER_ADDRESS, loader_address_pa); 216 214 217 215 size_t i; … … 306 304 307 305 printf("Booting the kernel ...\n"); 308 jump_to_kernel(bootinfo.physmem_start | BSP_PROCESSOR, &bootinfo, subarch, 309 (void *) KERNEL_ADDRESS); 310 } 306 ofw_quiesce(); 307 jump_to_kernel((void *) KERNEL_ADDRESS, &bootinfo, subarch, 308 bootinfo.physmem_start | BSP_PROCESSOR); 309 }
Note:
See TracChangeset
for help on using the changeset viewer.