[rtems commit] sp09: Remove partition specific parts

Joel Sherrill joel at rtems.org
Sat Jan 4 17:02:45 UTC 2014


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Sat Jan  4 11:07:56 2014 -0600

sp09: Remove partition specific parts

---

 testsuites/sptests/sp09/init.c   |    4 +---
 testsuites/sptests/sp09/sp09.doc |    7 +++----
 testsuites/sptests/sp09/sp09.scn |   24 ------------------------
 testsuites/sptests/sp09/system.h |   20 +++++---------------
 4 files changed, 9 insertions(+), 46 deletions(-)

diff --git a/testsuites/sptests/sp09/init.c b/testsuites/sptests/sp09/init.c
index 8af9baf..1110f9f 100644
--- a/testsuites/sptests/sp09/init.c
+++ b/testsuites/sptests/sp09/init.c
@@ -1,5 +1,5 @@
 /*
- *  COPYRIGHT (c) 1989-2009.
+ *  COPYRIGHT (c) 1989-2014.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -40,8 +40,6 @@ rtems_task Init(
   Queue_name[ 1 ]      =  rtems_build_name( 'M', 'Q', '1', ' ' );
   Queue_name[ 2 ]      =  rtems_build_name( 'M', 'Q', '2', ' ' );
 
-  Partition_name[ 1 ]  =  rtems_build_name( 'P', 'T', '1', ' ' );
-
   Port_name[ 1 ]       =  rtems_build_name( 'D', 'P', '1', ' ' );
 
   Period_name[ 1 ]     =  rtems_build_name( 'T', 'M', '1', ' ' );
diff --git a/testsuites/sptests/sp09/sp09.doc b/testsuites/sptests/sp09/sp09.doc
index 31e7620..e3be93e 100644
--- a/testsuites/sptests/sp09/sp09.doc
+++ b/testsuites/sptests/sp09/sp09.doc
@@ -1,4 +1,4 @@
-#  COPYRIGHT (c) 1989-1999.
+#  COPYRIGHT (c) 1989-2014.
 #  On-Line Applications Research Corporation (OAR).
 #
 #  The license and distribution terms for this file may be
@@ -15,9 +15,8 @@ directives:
   tm_tick, t_resume, t_setpri, t_setreg, t_start, t_suspend, tm_wkafter,
   tm_wkwhen, ev_receive, ev_send, sm_create, sm_delete, sm_ident,
   sm_p, sm_v, q_broadcast, q_create, q_delete, q_ident, q_receive,
-  q_send, q_urgent, as_catch, as_send, as_return, pt_create, pt_delete,
-  pt_getbug, pt_ident, pt_retbuf, de_close, de_cntrl, de_init, de_open,
-  de_read, de_write
+  q_send, q_urgent, as_catch, as_send, as_return
+  de_init, de_open,  de_read, de_write, de_close, de_cntrl
 
 concepts:
 
diff --git a/testsuites/sptests/sp09/sp09.scn b/testsuites/sptests/sp09/sp09.scn
index ce1512c..9cd3545 100644
--- a/testsuites/sptests/sp09/sp09.scn
+++ b/testsuites/sptests/sp09/sp09.scn
@@ -218,28 +218,4 @@ TA4 - rtems_task_delete - delete self - RTEMS_SUCCESSFUL
 TA1 - rtems_rate_monotonic_delete - RTEMS_INVALID_ID
 TA1 - rtems_rate_monotonic_delete - local RTEMS_INVALID_ID
 TA1 - rtems_rate_monotonic_delete - RTEMS_SUCCESSFUL
-<pause - screen 11>
-TA1 - rtems_partition_create - RTEMS_INVALID_NAME
-TA1 - rtems_partition_create - length - RTEMS_INVALID_SIZE
-TA1 - rtems_partition_create - buffer size - RTEMS_INVALID_SIZE
-TA1 - rtems_partition_create - length < buffer size - RTEMS_INVALID_SIZE
-TA1 - rtems_partition_create - buffer size < overhead - RTEMS_INVALID_SIZE
-TA1 - rtems_partition_create - RTEMS_MP_NOT_CONFIGURED
-TA1 - rtems_partition_create - RTEMS_INVALID_ADDRESS
-TA1 - rtems_partition_create - RTEMS_INVALID_SIZE
-TA1 - rtems_partition_delete - unknown RTEMS_INVALID_ID
-TA1 - rtems_partition_delete - local RTEMS_INVALID_ID
-TA1 - rtems_partition_get_buffer - RTEMS_INVALID_ADDRESS
-TA1 - rtems_partition_get_buffer - RTEMS_INVALID_ID
-TA1 - rtems_partition_ident - RTEMS_INVALID_NAME
-TA1 - rtems_partition_return_buffer - RTEMS_INVALID_ID
-TA1 - rtems_partition_create - RTEMS_INVALID_ADDRESS
-TA1 - rtems_partition_create - RTEMS_SUCCESSFUL
-TA1 - rtems_partition_create - RTEMS_TOO_MANY
-TA1 - rtems_partition_get_buffer - RTEMS_SUCCESSFUL
-TA1 - rtems_partition_get_buffer - RTEMS_SUCCESSFUL
-TA1 - rtems_partition_get_buffer - RTEMS_UNSATISFIED
-TA1 - rtems_partition_delete - RTEMS_RESOURCE_IN_USE
-TA1 - rtems_partition_return_buffer - RTEMS_INVALID_ADDRESS - out of range
-TA1 - rtems_partition_return_buffer - RTEMS_INVALID_ADDRESS - not on boundary
 *** END OF TEST 9 ***
diff --git a/testsuites/sptests/sp09/system.h b/testsuites/sptests/sp09/system.h
index 45457aa..11e70ea 100644
--- a/testsuites/sptests/sp09/system.h
+++ b/testsuites/sptests/sp09/system.h
@@ -1,9 +1,10 @@
-/*  system.h
- *
+/*
  *  This include file contains information that is included in every
  *  function in the test set.
- *
- *  COPYRIGHT (c) 1989-1999.
+ */
+
+/*
+ *  COPYRIGHT (c) 1989-2014.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -68,10 +69,6 @@ void Screen9( void );
 
 void Screen10( void );
 
-//void Screen11( void );
-
-//void Screen12( void );
-
 /* configuration information */
 
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
@@ -81,7 +78,6 @@ void Screen10( void );
 #define CONFIGURE_MAXIMUM_TIMERS              1
 #define CONFIGURE_MAXIMUM_SEMAPHORES          2
 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
-#define CONFIGURE_MAXIMUM_PARTITIONS          1
 #define CONFIGURE_MAXIMUM_PERIODS             1
 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS     0
 #define CONFIGURE_TICKS_PER_TIMESLICE       100
@@ -103,9 +99,6 @@ TEST_EXTERN rtems_id   Semaphore_id[ 4 ];   /* array of semaphore ids */
 TEST_EXTERN rtems_name Queue_name[ 3 ];     /* array of queue names */
 TEST_EXTERN rtems_id   Queue_id[ 3 ];       /* array of queue ids */
 
-TEST_EXTERN rtems_name Partition_name[ 2 ]; /* array of partition names */
-TEST_EXTERN rtems_id   Partition_id[ 2 ];   /* array of partition ids */
-
 TEST_EXTERN rtems_name Port_name[ 2 ];      /* array of port names */
 TEST_EXTERN rtems_id   Port_id[ 2 ];        /* array of port ids */
 
@@ -117,7 +110,4 @@ TEST_EXTERN rtems_id   Junk_id;             /* id used to return errors */
 #define Internal_port_area (void *) 0x00001000
 #define External_port_area (void *) 0x00002000
 
-TEST_EXTERN uint8_t   Partition_good_area[256] CPU_STRUCTURE_ALIGNMENT;
-#define Partition_bad_area (void *) 0x00000005
-
 /* end of include file */




More information about the vc mailing list