Ignore:
Timestamp:
Sep 12, 2014, 4:29:46 PM (10 years ago)
Author:
cfuguet
Message:

tsar_boot: using RESET_ADDRESS as preloader base address

  • The preloader base address is defined by RESET_ADDRESS instead of SEG_ROM_BASE.
  • Some platforms, like tsar_generic_leti, use the preloader but they do not have a ROM. Therefore the preloader is loaded during initialization in RAM.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/preloader.ld.in

    r794 r804  
    1212/* Definition of the base address for code segment */
    1313
    14 seg_code_base = SEG_ROM_BASE;
     14seg_code_base = RESET_ADDRESS;
    1515seg_data_base = SEG_RAM_BASE + SEG_RAM_SIZE - RESET_STACK_SIZE - 0x4000;
    1616
Note: See TracChangeset for help on using the changeset viewer.