Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified boot/arch/sparc64/src/main.c

    r339249f r4872160  
    101101                 * an unknown value of the "compatible" property is encountered.
    102102                 */
    103                 if (str_cmp(compatible, "sun4u") != 0)
    104                         printf("Warning: Unknown architecture, assuming sun4u.\n");
     103                printf("Warning: Unknown architecture, assuming sun4u.\n");
    105104                arch = ARCH_SUN4U;
    106105        } else
     
    206205       
    207206        void *bootinfo_pa = ofw_translate(&bootinfo);
    208         void *kernel_address_pa = ofw_translate((void *) KERNEL_ADDRESS);
    209207        void *loader_address_pa = ofw_translate((void *) LOADER_ADDRESS);
    210208       
     
    212210            bootinfo.memmap.total >> 20, bootinfo.physmem_start);
    213211        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 point\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);
    216214       
    217215        size_t i;
     
    306304       
    307305        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.