Changeset ed88c8e in mainline for boot/arch/mips32/src/putchar.c
- Timestamp:
- 2018-05-29T13:25:07Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fc0b2a8
- Parents:
- a57fa32
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-28 17:24:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-29 13:25:07)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/mips32/src/putchar.c
ra57fa32 red88c8e 39 39 #if defined(MACHINE_msim) 40 40 #define _putchar(ch) msim_putchar((ch)) 41 static void msim_putchar(c onst wchar_tch)41 static void msim_putchar(char ch) 42 42 { 43 43 *((char *) MSIM_VIDEORAM_ADDRESS) = ch; … … 51 51 (yamon_print_count_ptr_t) YAMON_SUBR_PRINT_COUNT; 52 52 53 static void yamon_putchar(c onst wchar_t wch)53 static void yamon_putchar(char ch) 54 54 { 55 const char ch = (char) wch;56 57 55 (*yamon_print_count)(0, &ch, 1); 58 56 } 59 57 #endif 60 58 61 void put char(const wchar_t ch)59 void putwchar(const wchar_t ch) 62 60 { 63 61 if (ascii_check(ch)) 64 62 _putchar(ch); 65 63 else 66 _putchar( U_SPECIAL);64 _putchar('?'); 67 65 } 68 66
Note:
See TracChangeset
for help on using the changeset viewer.