summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-12 18:44:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-12 18:44:30 +0000
commitc199cf899b50efe365e290750077b48c2b9a2f7f (patch)
treef59c83d365d6a74c5fba999495a50a2892bb911c /testsuites
parent2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-c199cf899b50efe365e290750077b48c2b9a2f7f.tar.bz2
2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* spfatal/fatal.c, spfatal06/testcase.h, spfatal07/testcase.h, spfatal08/testcase.h, spfatal09/testcase.h, spfatal10/testcase.h: Refactored and renamed initialization routines to rtems_initialize_data_structures, rtems_initialize_before_drivers, rtems_initialize_device_drivers, and rtems_initialize_start_multitasking. This opened the sequence up so that bootcard() could provide a more robust and flexible framework which is easier to explain and understand. This also lays the groundwork for sharing the division of available memory between the RTEMS workspace and heap and the C library initialization across all BSPs.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/ChangeLog14
-rw-r--r--testsuites/sptests/spfatal/fatal.c5
-rw-r--r--testsuites/sptests/spfatal06/testcase.h2
-rw-r--r--testsuites/sptests/spfatal07/testcase.h2
-rw-r--r--testsuites/sptests/spfatal08/testcase.h2
-rw-r--r--testsuites/sptests/spfatal09/testcase.h2
-rw-r--r--testsuites/sptests/spfatal10/testcase.h2
7 files changed, 21 insertions, 8 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index 5a82b4b159..02d7611b6e 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,3 +1,17 @@
+2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * spfatal/fatal.c, spfatal06/testcase.h, spfatal07/testcase.h,
+ spfatal08/testcase.h, spfatal09/testcase.h, spfatal10/testcase.h:
+ Refactored and renamed initialization routines to
+ rtems_initialize_data_structures, rtems_initialize_before_drivers,
+ rtems_initialize_device_drivers, and
+ rtems_initialize_start_multitasking. This opened the sequence up so
+ that bootcard() could provide a more robust and flexible framework
+ which is easier to explain and understand. This also lays the
+ groundwork for sharing the division of available memory between the
+ RTEMS workspace and heap and the C library initialization across all
+ BSPs.
+
2008-05-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp32/init.c: Formatting.
diff --git a/testsuites/sptests/spfatal/fatal.c b/testsuites/sptests/spfatal/fatal.c
index 4dc09aed5e..2a57cb89d5 100644
--- a/testsuites/sptests/spfatal/fatal.c
+++ b/testsuites/sptests/spfatal/fatal.c
@@ -6,7 +6,7 @@
* the executive. It is very carefully constructed to do this and
* uses the Configuration very carefully.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -130,6 +130,5 @@ void Process_case()
Initialization_tasks[ 0 ].entry_point = Init;
break;
}
- rtems_initialize_executive(
- &New_Configuration, rtems_cpu_configuration_get_table() );
+ rtems_initialize_data_structures( &New_Configuration );
}
diff --git a/testsuites/sptests/spfatal06/testcase.h b/testsuites/sptests/spfatal06/testcase.h
index d10179b7b7..4573bf1bf9 100644
--- a/testsuites/sptests/spfatal06/testcase.h
+++ b/testsuites/sptests/spfatal06/testcase.h
@@ -44,7 +44,7 @@ void force_error()
else
New_Configuration.stack_allocate_hook = &New_stack_allocate_hook;
- rtems_initialize_executive_early( &New_Configuration );
+ rtems_initialize_data_structures( &New_Configuration );
/* we will not run this far */
}
diff --git a/testsuites/sptests/spfatal07/testcase.h b/testsuites/sptests/spfatal07/testcase.h
index 5e2904db97..33691f4c56 100644
--- a/testsuites/sptests/spfatal07/testcase.h
+++ b/testsuites/sptests/spfatal07/testcase.h
@@ -35,7 +35,7 @@ void force_error()
New_Configuration = *_Configuration_Table;
New_Configuration.interrupt_stack_size = (STACK_MINIMUM_SIZE-1);
- rtems_initialize_executive_early( &New_Configuration );
+ rtems_initialize_data_structures( &New_Configuration );
/* we will not run this far */
}
diff --git a/testsuites/sptests/spfatal08/testcase.h b/testsuites/sptests/spfatal08/testcase.h
index 46f88525a8..8a2065c2ee 100644
--- a/testsuites/sptests/spfatal08/testcase.h
+++ b/testsuites/sptests/spfatal08/testcase.h
@@ -39,6 +39,6 @@ void force_error()
New_Configuration.work_space_start = Workspace;
New_Configuration.work_space_size = 256;
- rtems_initialize_executive_early( &New_Configuration );
+ rtems_initialize_data_structures( &New_Configuration );
/* we will not run this far */
}
diff --git a/testsuites/sptests/spfatal09/testcase.h b/testsuites/sptests/spfatal09/testcase.h
index 8c0b460103..151fdfeb21 100644
--- a/testsuites/sptests/spfatal09/testcase.h
+++ b/testsuites/sptests/spfatal09/testcase.h
@@ -36,6 +36,6 @@ void force_error()
New_Configuration.work_space_start = NULL;
- rtems_initialize_executive_early( &New_Configuration );
+ rtems_initialize_data_structures( &New_Configuration );
/* we will not run this far */
}
diff --git a/testsuites/sptests/spfatal10/testcase.h b/testsuites/sptests/spfatal10/testcase.h
index 1d40f56dca..b559a0e4ed 100644
--- a/testsuites/sptests/spfatal10/testcase.h
+++ b/testsuites/sptests/spfatal10/testcase.h
@@ -31,6 +31,6 @@ rtems_initialization_tasks_table Initialization_tasks[] = {
void force_error()
{
- rtems_initialize_executive_early( NULL );
+ rtems_initialize_data_structures( NULL );
/* we will not run this far */
}