- Timestamp:
- 2018-05-29T13:25:07Z (8 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)
- Location:
- boot/arch
- Files:
-
- 8 edited
-
arm32/src/putchar.c (modified) (2 diffs)
-
ia64/include/arch/ski.h (modified) (1 diff)
-
ia64/src/putchar.c (modified) (2 diffs)
-
ia64/src/ski.c (modified) (1 diff)
-
mips32/src/putchar.c (modified) (2 diffs)
-
ppc32/src/ofw.c (modified) (2 diffs)
-
riscv64/src/putchar.c (modified) (1 diff)
-
sparc64/src/ofw.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/src/putchar.c
ra57fa32 red88c8e 195 195 * @param ch Character to display 196 196 */ 197 void put char(const wchar_t ch)197 void putwchar(const wchar_t ch) 198 198 { 199 199 if (ch == '\n') … … 203 203 scons_sendb((uint8_t) ch); 204 204 else 205 scons_sendb( U_SPECIAL);205 scons_sendb('?'); 206 206 } 207 207 -
boot/arch/ia64/include/arch/ski.h
ra57fa32 red88c8e 30 30 #define BOOT_ia64_SKI_H_ 31 31 32 #include <stddef.h> 33 #include <str.h> 34 35 extern void ski_putchar(const wchar_t); 32 extern void ski_putchar(char); 36 33 37 34 #endif -
boot/arch/ia64/src/putchar.c
ra57fa32 red88c8e 33 33 #include <arch/ski.h> 34 34 35 void put char(const wchar_t ch)35 void putwchar(const wchar_t ch) 36 36 { 37 37 #ifdef MACHINE_ski … … 39 39 ski_putchar(ch); 40 40 else 41 ski_putchar( U_SPECIAL);41 ski_putchar('?'); 42 42 #endif 43 43 } -
boot/arch/ia64/src/ski.c
ra57fa32 red88c8e 52 52 } 53 53 54 void ski_putchar(c onst wchar_tch)54 void ski_putchar(char ch) 55 55 { 56 56 ski_console_init(); -
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 -
boot/arch/ppc32/src/ofw.c
ra57fa32 red88c8e 39 39 } 40 40 41 void put char(constwchar_t ch)41 void putwchar(wchar_t ch) 42 42 { 43 43 if (ch == '\n') … … 47 47 ofw_putchar(ch); 48 48 else 49 ofw_putchar( U_SPECIAL);49 ofw_putchar('?'); 50 50 } -
boot/arch/riscv64/src/putchar.c
ra57fa32 red88c8e 33 33 #include <arch/ucb.h> 34 34 35 void put char(constwchar_t ch)35 void putwchar(wchar_t ch) 36 36 { 37 37 if (ascii_check(ch)) 38 38 htif_cmd(HTIF_DEVICE_CONSOLE, HTIF_CONSOLE_PUTC, ch); 39 39 else 40 htif_cmd(HTIF_DEVICE_CONSOLE, HTIF_CONSOLE_PUTC, U_SPECIAL);40 htif_cmd(HTIF_DEVICE_CONSOLE, HTIF_CONSOLE_PUTC, '?'); 41 41 } -
boot/arch/sparc64/src/ofw.c
ra57fa32 red88c8e 43 43 #include <str.h> 44 44 45 void put char(constwchar_t ch)45 void putwchar(wchar_t ch) 46 46 { 47 47 if (ch == '\n') … … 51 51 ofw_putchar(ch); 52 52 else 53 ofw_putchar( U_SPECIAL);53 ofw_putchar('?'); 54 54 } 55 55
Note:
See TracChangeset
for help on using the changeset viewer.
