Changeset ce1ba304 in rtems
- Timestamp:
- 10/12/14 13:52:58 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- b1c89d25
- Parents:
- 575c12c1
- git-author:
- Joel Sherrill <joel.sherrill@…> (10/12/14 13:52:58)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (10/13/14 15:32:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/genmcf548x/console/console.c
r575c12c1 rce1ba304 833 833 return( rtems_termios_ioctl (arg) ); 834 834 } 835 836 837 int DEBUG_OUTCHAR(int c)838 {839 if(c == '\n')840 DEBUG_OUTCHAR('\r');841 _BSP_null_char(c);842 return c;843 }844 void DEBUG_OUTSTR(const char *msg)845 {846 while (*msg)847 DEBUG_OUTCHAR(*msg++);848 }849 void DEBUG_OUTNUM(int i)850 {851 int n;852 static const char map[] = "0123456789ABCDEF";853 DEBUG_OUTCHAR(' ');854 for (n = 28 ; n >= 0 ; n -= 4)855 DEBUG_OUTCHAR(map[(i >> n) & 0xF]);856 }857
Note: See TracChangeset
for help on using the changeset viewer.