summaryrefslogtreecommitdiff
path: root/c/src/lib/libbsp/arm/xm-tms570/startup/bspstarthooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/arm/xm-tms570/startup/bspstarthooks.c')
-rw-r--r--c/src/lib/libbsp/arm/xm-tms570/startup/bspstarthooks.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/xm-tms570/startup/bspstarthooks.c b/c/src/lib/libbsp/arm/xm-tms570/startup/bspstarthooks.c
new file mode 100644
index 0000000000..cf9c190f28
--- /dev/null
+++ b/c/src/lib/libbsp/arm/xm-tms570/startup/bspstarthooks.c
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 2017 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Dornierstr. 4
+ * 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.org/license/LICENSE.
+ */
+
+#include <bsp/start.h>
+
+BSP_START_TEXT_SECTION void bsp_start_hook_0(void)
+{
+ /* Nothing to do */
+}
+
+BSP_START_TEXT_SECTION void bsp_start_hook_1(void)
+{
+ bsp_start_copy_sections();
+ bsp_start_clear_bss();
+}