Changeset 83742a4 in mainline for boot/arch/arm32/src/main.c


Ignore:
Timestamp:
2013-01-20T16:02:33Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b8bb2bc
Parents:
4a79e6f
Message:

arm32: Add cache maintenance to jump_to_kernel, enable caches on bbxm boot.

BBXM boots significantly faster.
Should be generic enough for all ARMs.

File:
1 edited

Legend:

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

    r4a79e6f r83742a4  
    115115        printf(".\n");
    116116       
    117         printf("Booting the kernel... \n");
    118         jump_to_kernel((void *) PA2KA(BOOT_OFFSET), &bootinfo);
     117        void *kernel_end = (void *) PA2KA(BOOT_OFFSET + components[0].inflated);
     118        printf("Booting the kernel...\n");
     119        jump_to_kernel((void *) PA2KA(BOOT_OFFSET), &bootinfo, kernel_end);
    119120}
    120121
Note: See TracChangeset for help on using the changeset viewer.