[rtems commit] sparc64/shared/startup/bspstart.c: Add include of <bsp/ bootcard.h> to fix warning and clean up

Joel Sherrill joel at rtems.org
Thu Oct 9 15:03:38 UTC 2014


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Oct  7 17:40:00 2014 -0500

sparc64/shared/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up

---

 c/src/lib/libbsp/sparc64/shared/startup/bspstart.c |   21 +++++--------------
 1 files changed, 6 insertions(+), 15 deletions(-)

diff --git a/c/src/lib/libbsp/sparc64/shared/startup/bspstart.c b/c/src/lib/libbsp/sparc64/shared/startup/bspstart.c
index 25d4276..f6c190b 100644
--- a/c/src/lib/libbsp/sparc64/shared/startup/bspstart.c
+++ b/c/src/lib/libbsp/sparc64/shared/startup/bspstart.c
@@ -1,9 +1,8 @@
 /*
- *  This routine starts the application.  It includes application,
- *  board, and monitor specific initialization and configuration.
- *  The generic CPU dependent initialization has been performed
- *  before this routine is invoked.
- *
+ *  This routine does the bulk of the system initialization.
+ */
+
+/*
  *  COPYRIGHT (c) 1989-1999.
  *  On-Line Applications Research Corporation (OAR).
  *
@@ -12,20 +11,12 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#include <string.h>
-
 #include <bsp.h>
+#include <bsp/bootcard.h>
 
 extern void sparc64_install_isr_entries(void);
 
-/*
- *  bsp_start
- *
- *  This routine does the bulk of the system initialization.
- */
-
 void bsp_start( void )
 {
-/*	bootstrap(); */
-	sparc64_install_isr_entries();
+  sparc64_install_isr_entries();
 }



More information about the vc mailing list