summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/bootcard.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-18 20:48:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-18 20:48:17 +0000
commit4e1cc1739b92137683954179205b830ffc5043b2 (patch)
tree178a87f7e87b3afa2873342674f54367e02e8243 /c/src/lib/libbsp/shared/bootcard.c
parent2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-4e1cc1739b92137683954179205b830ffc5043b2.tar.bz2
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* bootcard.c: Perform bsp_start() before bsp_get_work_area().
Diffstat (limited to 'c/src/lib/libbsp/shared/bootcard.c')
-rw-r--r--c/src/lib/libbsp/shared/bootcard.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/shared/bootcard.c b/c/src/lib/libbsp/shared/bootcard.c
index 5fa922c83d..4b551fc11e 100644
--- a/c/src/lib/libbsp/shared/bootcard.c
+++ b/c/src/lib/libbsp/shared/bootcard.c
@@ -166,6 +166,11 @@ int boot_card(
rtems_progname = "RTEMS";
/*
+ * Invoke Board Support Package initialization routine written in C.
+ */
+ bsp_start();
+
+ /*
* Find out where the block of memory the BSP will use for
* the RTEMS Workspace and the C Program Heap is.
*/
@@ -199,11 +204,6 @@ int boot_card(
#endif
/*
- * Invoke Board Support Package initialization routine written in C.
- */
- bsp_start();
-
- /*
* Initialize RTEMS data structures
*/
rtems_initialize_data_structures( &Configuration );