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