Changeset 570 for trunk/softs


Ignore:
Timestamp:
Oct 30, 2013, 11:54:13 AM (11 years ago)
Author:
cfuguet
Message:

Modifications in tsar_boot:

  • Aligning the boot loader block buffer to a cache line. This is required by the memory cache invalidation mechanism.
  • Introducing a new platform in the configuration directory: tsar_generic_iob
Location:
trunk/softs/tsar_boot
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/src/boot_elf_loader.c

    r554 r570  
    2626#endif
    2727
     28unsigned char boot_elf_loader_buffer[512] __attribute__((aligned(CACHE_LINE_SIZE)));
     29
    2830void * boot_elf_loader(unsigned int lba)
    2931{
     
    3133     * Temporary variables used by the boot loader
    3234     */
    33     unsigned char   boot_elf_loader_buffer[512];
    3435    Elf32_Ehdr      elf_header;
    3536    Elf32_Phdr      elf_pht[PHDR_ARRAY_SIZE];
Note: See TracChangeset for help on using the changeset viewer.