bsps: BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN

Remove the BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN hack.  The interrupt
stacks are now allocated by the linker.

Update #3459.
This commit is contained in:
Sebastian Huber
2018-08-31 07:44:53 +02:00
parent 7b1a711d3b
commit fad3f79b88
15 changed files with 10 additions and 48 deletions

View File

@@ -25,9 +25,6 @@
#include <bsp.h>
#include <bsp/bootcard.h>
#include <bsp/vc.h>
#ifdef BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN
#include <rtems/config.h>
#endif
#if defined(HAS_UBOOT) && !defined(BSP_DISABLE_UBOOT_WORK_AREA_CONFIG)
#define USE_UBOOT
@@ -65,10 +62,6 @@ void bsp_work_area_initialize(void)
ram_end = (uintptr_t)RamBase + (uintptr_t)RamSize;
#endif
#ifdef BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN
work_base += rtems_configuration_get_interrupt_stack_size();
#endif
memset( &vc_entry, 0, sizeof(vc_entry) );
if (bcm2835_mailbox_get_vc_memory( &vc_entry ) >= 0) {
if (vc_entry.base > 10 * 1024 *1024)