Changeset c5d8d2dc in rtems


Ignore:
Timestamp:
Jun 21, 2010, 12:28:36 PM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
07109c2
Parents:
b34685f4
Message:

2010-06-21 Sebastian Huber <sebastian.huber@…>

  • shared/start/start.S, shared/startup/linkcmds.base, shared/include/linker-symbols.h: Added and use bsp_vector_table_begin, bsp_vector_table_size and bsp_vector_table_end.
Location:
c/src/lib/libbsp/arm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/ChangeLog

    rb34685f4 rc5d8d2dc  
     12010-06-21      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * shared/start/start.S, shared/startup/linkcmds.base,
     4        shared/include/linker-symbols.h: Added and use bsp_vector_table_begin,
     5        bsp_vector_table_size and bsp_vector_table_end.
     6
    172010-05-20      Sebastian Huber <sebastian.huber@embedded-brains.de>
    28
  • c/src/lib/libbsp/arm/shared/include/linker-symbols.h

    rb34685f4 rc5d8d2dc  
    103103LINKER_SYMBOL(bsp_section_stack_size)
    104104
     105LINKER_SYMBOL(bsp_vector_table_begin)
     106LINKER_SYMBOL(bsp_vector_table_end)
     107LINKER_SYMBOL(bsp_vector_table_size)
     108
    105109/** @} */
    106110
  • c/src/lib/libbsp/arm/shared/start/start.S

    rb34685f4 rc5d8d2dc  
    169169         */
    170170
    171         ldr     r0, =bsp_section_vector_begin
     171        ldr     r0, =bsp_vector_table_begin
    172172        adr     r1, vector_block
    173173        ldmia   r1!, {r2-r9}
  • c/src/lib/libbsp/arm/shared/startup/linkcmds.base

    rb34685f4 rc5d8d2dc  
    5959bsp_stack_und_size = ALIGN (bsp_stack_und_size, bsp_stack_align);
    6060
     61bsp_vector_table_size = DEFINED (bsp_vector_table_size) ? bsp_vector_table_size : 64;
     62
    6163SECTIONS {
    6264        .start : {
     
    9294                 * the pointers to the default exceptions handlers.
    9395                 */
    94                 . = . + 64;
     96                . = . + bsp_vector_table_size;
    9597
    9698                /*
     
    134136
    135137        bsp_section_vector_size = bsp_section_vector_end - bsp_section_vector_begin;
     138
     139        bsp_vector_table_begin = bsp_vector_table_size != 0 ? bsp_section_vector_begin : bsp_section_start_begin;
     140        bsp_vector_table_end = bsp_vector_table_begin + bsp_vector_table_size;
    136141
    137142        .vbarrier : {
Note: See TracChangeset for help on using the changeset viewer.