TX51 pre-release
authorlothar <lothar>
Thu, 14 Jan 2010 16:14:14 +0000 (16:14 +0000)
committerlothar <lothar>
Thu, 14 Jan 2010 16:14:14 +0000 (16:14 +0000)
packages/infra/v2_0/src/diag.cxx

index a780324..189303e 100644 (file)
@@ -72,34 +72,34 @@ CYG_HAL_DIAG_LOCK_DATA_DEFN;
 /*----------------------------------------------------------------------*/
 
 externC void diag_write_num(
-    cyg_uint32  n,              /* number to write              */
-    cyg_ucount8 base,           /* radix to write to            */
-    cyg_ucount8 sign,           /* sign, '-' if -ve, '+' if +ve */
-    cyg_bool    pfzero,         /* prefix with zero ?           */
-    cyg_ucount8 width           /* min width of number          */
+    cyg_uint32 n,              /* number to write              */
+    cyg_ucount8 base,          /* radix to write to            */
+    cyg_ucount8 sign,          /* sign, '-' if -ve, '+' if +ve */
+    cyg_bool   pfzero,         /* prefix with zero ?           */
+    cyg_ucount8 width          /* min width of number          */
     );
 
 class Cyg_dummy_diag_init_class {
 public:
-    Cyg_dummy_diag_init_class() {
-        HAL_DIAG_INIT();
+       Cyg_dummy_diag_init_class() {
+           HAL_DIAG_INIT();
     }
 };
 
 // Initialize after HAL.
-static Cyg_dummy_diag_init_class cyg_dummy_diag_init_obj 
-                                      CYGBLD_ATTRIB_INIT_AFTER(CYG_INIT_HAL);
+static Cyg_dummy_diag_init_class cyg_dummy_diag_init_obj
+                                     CYGBLD_ATTRIB_INIT_AFTER(CYG_INIT_HAL);
 
 /*----------------------------------------------------------------------*/
 /* Write single char to output                                          */
 
 externC void diag_write_char(char c)
-{    
+{
     /* Translate LF into CRLF */
-    
+
     if( c == '\n' )
     {
-        HAL_DIAG_WRITE_CHAR('\r');        
+       HAL_DIAG_WRITE_CHAR('\r');
     }
 
     HAL_DIAG_WRITE_CHAR(c);
@@ -133,7 +133,7 @@ diag_init_putc(void (*putc)(char c, void *param))
 
 /*----------------------------------------------------------------------*/
 /* Write zero terminated string                                         */
-  
+
 externC void diag_write_string(const char *psz)
 {
     while( *psz ) diag_write_char( *psz++ );