Ignore:
Timestamp:
Aug 9, 2012, 2:48:00 PM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
c118a6e5
Parents:
e4278f2
git-author:
Sebastian Huber <sebastian.huber@…> (08/09/12 14:48:00)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/25/12 12:54:06)
Message:

score: Work area initialization API change

The work areas (RTEMS work space and C program heap) will be initialized
now in a separate step and are no longer part of
rtems_initialize_data_structures(). Initialization is performed with
tables of Heap_Area entries. This allows usage of scattered memory
areas present on various small scale micro-controllers.

The sbrk() support API changes also. The bsp_sbrk_init() must now deal
with a minimum size for the first memory chunk to take the configured
work space size into account.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spfatal07/testcase.h

    re4278f2 r47a3cd8  
    3838          INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL
    3939
     40#if CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE
     41  #define CONFIGURE_MEMORY_OVERHEAD (sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS)
     42#endif
     43
    4044void force_error()
    4145{
    4246  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)
    4347    Configuration.interrupt_stack_size = (STACK_MINIMUM_SIZE-1);
    44     rtems_initialize_data_structures();
     48    _ISR_Handler_initialization();
    4549  #else
    4650    printk(
Note: See TracChangeset for help on using the changeset viewer.