Ignore:
Timestamp:
11/12/14 12:57:24 (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
b6f21886
Parents:
3eade710
git-author:
Sebastian Huber <sebastian.huber@…> (11/12/14 12:57:24)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/20/14 07:54:10)
Message:

bsps/arm: Adjust stacks for ARMv4

Reduce non-IRQ stacks to size zero. All non-IRQ stacks overlap now the
IRQ stack. This is all right since the SVC stack is used only during
startup and here interrupts are disabled. The other exception stacks
lead to a system termination by default, so we can here also use the IRQ
stack since interrupts are disabled on exception entry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/shared/startup/linkcmds.armv4

    r3eade710 rf0c564c  
    88
    99/*
    10  * Copyright (c) 2010 embedded brains GmbH.  All rights reserved.
     10 * Copyright (c) 2010-2014 embedded brains GmbH.  All rights reserved.
    1111 *
    1212 *  embedded brains GmbH
     
    2121 */
    2222
    23 bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 128;
    24 bsp_stack_abt_size = ALIGN (bsp_stack_abt_size, bsp_stack_align);
    25 
    26 bsp_stack_fiq_size = DEFINED (bsp_stack_fiq_size) ? bsp_stack_fiq_size : 128;
    27 bsp_stack_fiq_size = ALIGN (bsp_stack_fiq_size, bsp_stack_align);
    28 
    29 bsp_stack_irq_size = DEFINED (bsp_stack_irq_size) ? bsp_stack_irq_size : 512;
     23bsp_stack_irq_size = DEFINED (bsp_stack_irq_size) ? bsp_stack_irq_size : 1024;
    3024bsp_stack_irq_size = ALIGN (bsp_stack_irq_size, bsp_stack_align);
    3125
    32 bsp_stack_svc_size = DEFINED (bsp_stack_svc_size) ? bsp_stack_svc_size : 512;
    33 bsp_stack_svc_size = ALIGN (bsp_stack_svc_size, bsp_stack_align);
    34 
    35 bsp_stack_und_size = DEFINED (bsp_stack_und_size) ? bsp_stack_und_size : 128;
    36 bsp_stack_und_size = ALIGN (bsp_stack_und_size, bsp_stack_align);
    37 
    3826INCLUDE linkcmds.base
Note: See TracChangeset for help on using the changeset viewer.