Changeset e0565005 in mainline for boot/arch/sparc64/loader/main.c


Ignore:
Timestamp:
2009-08-24T14:41:42Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ed5ad30
Parents:
21d8020
Message:

initialize and setup all displays which can be detected in OFW tree (not only stdin)
reduce the number of newlines during boot (speedups especially in simulators)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc64/loader/main.c

    r21d8020 re0565005  
    189189        }
    190190       
     191        printf("\n");
     192       
    191193        /* Do not consider RAM disk */
    192194        j = bootinfo.taskmap.count - 1;
     
    205207                    silo_ramdisk_size;
    206208                bootinfo.taskmap.count++;
    207                 printf("\nCopying RAM disk...");
     209                printf("Copying RAM disk...");
    208210               
    209211                /*
     
    227229         * with base.
    228230         */
    229         printf("\nCopying tasks...");
     231        printf("Copying tasks...");
    230232        for (i = COMPONENTS - 1; i > 0; i--, j--) {
    231233                printf("%s ", components[i].name);
     
    252254        printf(".\n");
    253255       
    254         printf("\nCopying kernel...");
     256        printf("Copying kernel...");
    255257        (void) ofw_claim_phys(bootinfo.physmem_start + base,
    256258            ALIGN_UP(components[0].size, PAGE_SIZE));
     
    270272            (uintptr_t) balloc_base);
    271273       
    272         printf("\nCanonizing OpenFirmware device tree...");
     274        printf("Setting up screens...");
     275        ofw_setup_screens();
     276        printf("done.\n");
     277       
     278        printf("Canonizing OpenFirmware device tree...");
    273279        bootinfo.ofw_root = ofw_tree_build();
    274280        printf("done.\n");
    275281       
    276282#ifdef CONFIG_AP
    277         printf("\nChecking for secondary processors...");
     283        printf("Checking for secondary processors...");
    278284        if (!ofw_cpu(mid_mask, bootinfo.physmem_start))
    279285                printf("Error: unable to get CPU properties\n");
     
    281287#endif
    282288       
    283         ofw_setup_palette();
    284        
    285         printf("\nBooting the kernel...\n");
     289        printf("Booting the kernel...\n");
    286290        jump_to_kernel((void *) KERNEL_VIRTUAL_ADDRESS,
    287291            bootinfo.physmem_start | BSP_PROCESSOR, &bootinfo,
Note: See TracChangeset for help on using the changeset viewer.