Changeset b1c89d25 in rtems
- Timestamp:
- 10/12/14 13:53:15 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- d5e533d
- Parents:
- ce1ba304
- git-author:
- Joel Sherrill <joel.sherrill@…> (10/12/14 13:53:15)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (10/13/14 15:32:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/mcf5235/console/console.c
rce1ba304 rb1c89d25 743 743 return( rtems_termios_ioctl (arg) ); 744 744 } 745 int DEBUG_OUTCHAR(int c)746 {747 if(c == '\n')748 DEBUG_OUTCHAR('\r');749 _BSP_null_char(c);750 return c;751 }752 void DEBUG_OUTSTR(const char *msg)753 {754 while (*msg)755 DEBUG_OUTCHAR(*msg++);756 }757 void DEBUG_OUTNUM(int i)758 {759 int n;760 static const char map[] = "0123456789ABCDEF";761 DEBUG_OUTCHAR(' ');762 for (n = 28 ; n >= 0 ; n -= 4)763 DEBUG_OUTCHAR(map[(i >> n) & 0xF]);764 }
Note: See TracChangeset
for help on using the changeset viewer.