summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspworkarea.c
diff options
context:
space:
mode:
authorChirayu Desai <cdesai@cyanogenmod.org>2013-11-24 21:16:00 +0530
committerGedare Bloom <gedare@rtems.org>2013-11-24 12:08:24 -0500
commit22fa874adaea0b461f1db37b9a5023e171a37513 (patch)
treee099d790ea25311fc75016f00f32b0b56b1bc835 /c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspworkarea.c
parentmpc55xxevb: Move start.S to mpc55xxevb/start/start.S (diff)
downloadrtems-22fa874adaea0b461f1db37b9a5023e171a37513.tar.bz2
powerpc/mpc55xxevb: Move bspworkarea.c to bspgetworkarea.c
Fixes commit 571216aceef5d59bec8022f119a0cecf97544f6f
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspworkarea.c')
-rw-r--r--c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspworkarea.c53
1 files changed, 0 insertions, 53 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspworkarea.c b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspworkarea.c
deleted file mode 100644
index 2b42be9f98..0000000000
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspworkarea.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * @file
- *
- * @ingroup mpc55xx
- */
-
-/*
- * Copyright (c) 2012 embedded brains GmbH. All rights reserved.
- *
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- */
-
-#include <bsp.h>
-#include <bsp/bootcard.h>
-#include <bsp/linker-symbols.h>
-
-LINKER_SYMBOL(bsp_section_work_bonus_begin);
-LINKER_SYMBOL(bsp_section_work_bonus_size);
-
-void bsp_work_area_initialize(void)
-{
- Heap_Area areas [] = {
- {
- bsp_section_work_begin,
- (uintptr_t) bsp_section_work_size
- }, {
- bsp_section_work_bonus_begin,
- (uintptr_t) bsp_section_work_bonus_size
- }
- };
-
- #ifdef BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN
- {
- uint32_t stack_size = rtems_configuration_get_interrupt_stack_size();
-
- areas [0].begin = (char *) areas [0].begin + stack_size;
- areas [0].size -= stack_size;
- }
- #endif
-
- bsp_work_area_initialize_with_table(
- areas,
- sizeof(areas) / sizeof(areas [0])
- );
-}