[rtems commit] bsps/gdbarmsim: Add the missing bspstarthooks.c.

Chris Johns chrisj at rtems.org
Thu May 29 23:04:05 UTC 2014


Module:    rtems
Branch:    master
Commit:    4d5845824e8761937a3ab8bfda8d04c5247a7f6f
Changeset: http://git.rtems.org/rtems/commit/?id=4d5845824e8761937a3ab8bfda8d04c5247a7f6f

Author:    Chris Johns <chrisj at rtems.org>
Date:      Fri May 30 09:11:30 2014 +1000

bsps/gdbarmsim: Add the missing bspstarthooks.c.

---

 .../libbsp/arm/gdbarmsim/startup/bspstarthooks.c   |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/c/src/lib/libbsp/arm/gdbarmsim/startup/bspstarthooks.c b/c/src/lib/libbsp/arm/gdbarmsim/startup/bspstarthooks.c
new file mode 100644
index 0000000..996d358
--- /dev/null
+++ b/c/src/lib/libbsp/arm/gdbarmsim/startup/bspstarthooks.c
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2014 Chris Johns <chrisj at rtems.org>  All rights reserved.
+ *
+ * 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.h>
+#include <bsp/start.h>
+#
+BSP_START_TEXT_SECTION void bsp_start_hook_0(void)
+{
+}
+
+BSP_START_TEXT_SECTION void bsp_start_hook_1(void)
+{
+  bsp_start_copy_sections();
+  bsp_start_clear_bss();
+}




More information about the vc mailing list