source: rtems/c/src/lib/libbsp/arm/xilinx-zynq/startup/bspstarthooks.c @ 2d3caccf

4.115
Last change on this file since 2d3caccf was 2d3caccf, checked in by Sebastian Huber <sebastian.huber@…>, on Jun 5, 2014 at 11:22:08 AM

bsps/arm: Define ARM_CP15_TEXT_SECTION

Define ARM_CP15_TEXT_SECTION to BSP_START_TEXT_SECTION so that the
start code is in the right section.

  • Property mode set to 100644
File size: 760 bytes
Line 
1/*
2 * Copyright (c) 2013 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Dornierstr. 4
6 *  82178 Puchheim
7 *  Germany
8 *  <info@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.org/license/LICENSE.
13 */
14
15#define ARM_CP15_TEXT_SECTION BSP_START_TEXT_SECTION
16
17#include <bsp.h>
18#include <bsp/start.h>
19#include <bsp/arm-cp15-start.h>
20#include <bsp/arm-a9mpcore-start.h>
21
22BSP_START_TEXT_SECTION void bsp_start_hook_0(void)
23{
24  arm_a9mpcore_start_hook_0();
25}
26
27BSP_START_TEXT_SECTION void bsp_start_hook_1(void)
28{
29  arm_a9mpcore_start_hook_1();
30  bsp_start_copy_sections();
31  zynq_setup_mmu_and_cache();
32  bsp_start_clear_bss();
33}
Note: See TracBrowser for help on using the repository browser.