[BACK]Return to diag.c CVS log [TXT][DIR] Up to [local] / prex-old / sys / arch / arm / gba

Diff for /prex-old/sys/arch/arm/gba/diag.c between version 1.1.1.1 and 1.1.1.1.2.1

version 1.1.1.1, 2008/06/03 10:38:45 version 1.1.1.1.2.1, 2008/08/13 17:12:29
Line 33 
Line 33 
 #include <kernel.h>  #include <kernel.h>
   
 #ifdef DEBUG  #ifdef DEBUG
 /*  
  * Warning: Enabling CONFIG_DIAG_VBA will cause hang on actual GBA h/w.  
  */  
 #ifdef CONFIG_DIAG_SCREEN  #ifdef CONFIG_DIAG_SCREEN
 #include "font.h"  #include "font.h"
   
Line 111 
Line 109 
 }  }
   
 /*  /*
  * Write  
  */  
 void  
 diag_print(char *buf)  
 {  
   
         while (*buf)  
                 put_char(*buf++);  
 }  
   
 /*  
  * Init font   * Init font
  */   */
 static void  static void
Line 162 
Line 149 
         REG_BG0CNT = 0x1080;    /* Size0, 256color */          REG_BG0CNT = 0x1080;    /* Size0, 256color */
 }  }
 #endif /* CONFIG_DIAG_SCREEN */  #endif /* CONFIG_DIAG_SCREEN */
   
   
   void
   diag_print(char *buf)
   {
   #ifdef CONFIG_DIAG_SCREEN
           char *p = buf;
   
           while (*p)
                   put_char(*p++);
   #endif
   
           /*
            * Warning: Enabling CONFIG_DIAG_VBA will cause
            * hang on actual GBA h/w.
            */
   #ifdef CONFIG_DIAG_VBA
           puts(buf);
   #endif
   }
   
 #endif /* DEBUG */  #endif /* DEBUG */
   

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.1.2.1

CVSweb