[PATCH 10/15] Change Rtems to RTEMS.

Joel Sherrill joel at rtems.org
Mon Oct 3 22:58:07 UTC 2016


---
 c/src/lib/libbsp/powerpc/beatnik/irq/irq_init.c  |  2 +-
 c/src/lib/libbsp/powerpc/mvme5500/irq/irq_init.c |  2 +-
 c/src/lib/libbsp/powerpc/psim/irq/irq_init.c     |  2 +-
 c/src/lib/libcpu/powerpc/mpc5xx/irq/irq_init.c   |  2 +-
 testsuites/psxtests/psxfatal_support/init.c      |  2 +-
 testsuites/samples/cdtest/main.cc                | 14 +++++++-------
 testsuites/sptests/spfatal_support/init.c        |  2 +-
 7 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/beatnik/irq/irq_init.c b/c/src/lib/libbsp/powerpc/beatnik/irq/irq_init.c
index a99fc1c..af4c347 100644
--- a/c/src/lib/libbsp/powerpc/beatnik/irq/irq_init.c
+++ b/c/src/lib/libbsp/powerpc/beatnik/irq/irq_init.c
@@ -75,7 +75,7 @@ int i;
 	 */
 
 	/*
-	 * Initialize Rtems management interrupt table
+	 * Initialize RTEMS management interrupt table
 	 */
 
 	/*
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/irq/irq_init.c b/c/src/lib/libbsp/powerpc/mvme5500/irq/irq_init.c
index 5bfe08d..015ff46 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/irq/irq_init.c
+++ b/c/src/lib/libbsp/powerpc/mvme5500/irq/irq_init.c
@@ -106,7 +106,7 @@ void BSP_rtems_irq_mng_init(unsigned cpuId)
   printk("Going to re-initialize the rtemsIrq table %d\n",BSP_IRQ_NUMBER);
 #endif
   /*
-   * Initialize Rtems management interrupt table
+   * Initialize RTEMS management interrupt table
    */
   /*
    * re-init the rtemsIrq table
diff --git a/c/src/lib/libbsp/powerpc/psim/irq/irq_init.c b/c/src/lib/libbsp/powerpc/psim/irq/irq_init.c
index 59f0e1d..d17a13b 100644
--- a/c/src/lib/libbsp/powerpc/psim/irq/irq_init.c
+++ b/c/src/lib/libbsp/powerpc/psim/irq/irq_init.c
@@ -54,7 +54,7 @@ void BSP_rtems_irq_mng_init(unsigned cpuId)
   openpic_init(1,0,0,16,0,0);
 
   /*
-   * Initialize Rtems management interrupt table
+   * Initialize RTEMS management interrupt table
    */
   /*
    * re-init the rtemsIrq table
diff --git a/c/src/lib/libcpu/powerpc/mpc5xx/irq/irq_init.c b/c/src/lib/libcpu/powerpc/mpc5xx/irq/irq_init.c
index 3ba7e8f..ef8a803 100644
--- a/c/src/lib/libcpu/powerpc/mpc5xx/irq/irq_init.c
+++ b/c/src/lib/libcpu/powerpc/mpc5xx/irq/irq_init.c
@@ -119,7 +119,7 @@ void CPU_rtems_irq_mng_init(unsigned cpuId)
   CPU_USIU_irq_init();
   CPU_UIMB_irq_init();
   /*
-   * Initialize Rtems management interrupt table
+   * Initialize RTEMS management interrupt table
    */
     /*
      * re-init the rtemsIrq table
diff --git a/testsuites/psxtests/psxfatal_support/init.c b/testsuites/psxtests/psxfatal_support/init.c
index cdf479e..c569abe 100644
--- a/testsuites/psxtests/psxfatal_support/init.c
+++ b/testsuites/psxtests/psxfatal_support/init.c
@@ -46,7 +46,7 @@ void Put_Error( uint32_t source, uint32_t error )
   }
   else if (source == INTERNAL_ERROR_RTEMS_API ){
     if (error >  RTEMS_NOT_IMPLEMENTED )
-      printk("Unknown Internal Rtems Error (%" PRIu32 ")", error);
+      printk("Unknown Internal RTEMS Error (%" PRIu32 ")", error);
     else
       printk( "%s", rtems_status_text( error ) );
   }
diff --git a/testsuites/samples/cdtest/main.cc b/testsuites/samples/cdtest/main.cc
index 8aea62f..b044286 100644
--- a/testsuites/samples/cdtest/main.cc
+++ b/testsuites/samples/cdtest/main.cc
@@ -112,20 +112,20 @@ public:
 };
 
 
-class RtemsException 
+class RTEMSException
 {
 public:
     
-    RtemsException( const char *module, int ln, int err = 0 )
+    RTEMSException( const char *module, int ln, int err = 0 )
     : error( err ), line( ln ), file( module )
     {
-      printf( "RtemsException raised=File:%s, Line:%d, Error=%X\n",
+      printf( "RTEMSException raised=File:%s, Line:%d, Error=%X\n",
                file, line, error ); 
     }
 
     void show()
     {
-      printf( "RtemsException ---> File:%s, Line:%d, Error=%X\n",
+      printf( "RTEMSException ---> File:%s, Line:%d, Error=%X\n",
                file, line, error ); 
     }
 
@@ -199,11 +199,11 @@ rtems_task main_task(
     try 
     {
       printf( "throw an instance based exception\n" );
-		throw RtemsException( __FILE__, __LINE__, 0x55 ); 
+		throw RTEMSException( __FILE__, __LINE__, 0x55 );
     }
-    catch( RtemsException & ex ) 
+    catch( RTEMSException & ex )
     {
-       printf( "Success catching RtemsException...\n" );
+       printf( "Success catching RTEMSException...\n" );
        ex.show();
     }
     catch(...) 
diff --git a/testsuites/sptests/spfatal_support/init.c b/testsuites/sptests/spfatal_support/init.c
index 319dbd2..dfb71a5 100644
--- a/testsuites/sptests/spfatal_support/init.c
+++ b/testsuites/sptests/spfatal_support/init.c
@@ -43,7 +43,7 @@ void Put_Error( uint32_t source, uint32_t error )
   }
   else if (source == INTERNAL_ERROR_RTEMS_API ){
     if (error >  RTEMS_NOT_IMPLEMENTED )
-      printk("Unknown Internal Rtems Error (0x%08" PRIx32 ")", error);
+      printk("Unknown Internal RTEMS Error (0x%08" PRIx32 ")", error);
     else
       printk( "%s", rtems_status_text( error ) );
   }
-- 
1.8.3.1




More information about the devel mailing list