comparison packages/redboot/current/src/main.c @ 210:d2c90368aeef

Merge from eCos master repository on 2002-05-23-21:39:14-BST
author jlarmour
date Thu, 23 May 2002 22:59:51 +0000
parents e0c0827131d1
children 57f3c72256bb
comparison
equal deleted inserted replaced
209:19edcb2e78cc 210:d2c90368aeef
32 // 32 //
33 // This exception does not invalidate any other reasons why a work based on 33 // This exception does not invalidate any other reasons why a work based on
34 // this file might be covered by the GNU General Public License. 34 // this file might be covered by the GNU General Public License.
35 // 35 //
36 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc. 36 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
37 // at http://sources.redhat.com/ecos/ecos-license 37 // at http://sources.redhat.com/ecos/ecos-license/
38 // ------------------------------------------- 38 // -------------------------------------------
39 //####ECOSGPLCOPYRIGHTEND#### 39 //####ECOSGPLCOPYRIGHTEND####
40 //========================================================================== 40 //==========================================================================
41 //#####DESCRIPTIONBEGIN#### 41 //#####DESCRIPTIONBEGIN####
42 // 42 //
197 197
198 // Wrapper used by diag_printf() 198 // Wrapper used by diag_printf()
199 static void 199 static void
200 _mon_write_char(char c, void **param) 200 _mon_write_char(char c, void **param)
201 { 201 {
202 if (c == '\n') {
203 mon_write_char('\r');
204 }
202 mon_write_char(c); 205 mon_write_char(c);
203 } 206 }
204 207
205 // 208 //
206 // This is the main entry point for RedBoot 209 // This is the main entry point for RedBoot