Changeset 6ac14a70 in mainline for boot/arch/arm32/loader/main.c


Ignore:
Timestamp:
2009-07-28T12:47:31Z (15 years ago)
Author:
Vineeth Pillai <vineethrp@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5e73815
Parents:
7038f55
Message:

ARM port for development board integratorcp(ARM926EJ core module).

File:
1 edited

Legend:

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

    r7038f55 r6ac14a70  
    6868static void version_print(void)
    6969{
    70         printf("HelenOS ARM32 Bootloader\nRelease %s%s%s\nCopyright (c) 2007 HelenOS project\n",
     70        printf("HelenOS ARM32 Bootloader\nRelease %s%s%s\nCopyright (c) 2009 HelenOS project\n",
    7171                release, revision, timestamp);
    7272}
     
    9292        unsigned int i, j;
    9393        for (i = 0; i < COMPONENTS; i++) {
    94                 printf(" %L: %s image (size %d bytes)\n",
    95                     components[i].start, components[i].name, components[i].size);
    9694                top = ALIGN_UP(top, KERNEL_PAGE_SIZE);
    9795                if (i > 0) {
     
    107105
    108106        printf("\nCopying components\n");
    109 
     107        printf("Component\tAddress\t\tSize (Bytes)\n");
     108        printf("============================================\n");
    110109        for (i = COMPONENTS - 1; i > 0; i--, j--) {
    111                 printf(" %s...", components[i].name);
     110                printf("%s\t\t0x%x\t%d\n", components[i].name, bootinfo.tasks[j].addr, components[i].size);
    112111                memcpy((void *)bootinfo.tasks[j].addr, components[i].start,
    113112                    components[i].size);
    114                 printf("done.\n");
    115113        }
    116        
    117         printf("\nCopying kernel...");
     114        printf("KERNEL\t\t0x%x\t%d\n", KERNEL_VIRTUAL_ADDRESS, components[0].size);
     115
    118116        memcpy((void *)KERNEL_VIRTUAL_ADDRESS, components[0].start,
    119117            components[0].size);
    120         printf("done.\n");
    121118
    122119        printf("\nBooting the kernel...\n");
Note: See TracChangeset for help on using the changeset viewer.