Changeset b4c4666 in mainline for kernel/arch/sparc64/src/drivers/sgcn.c
- Timestamp:
- 2009-04-01T17:14:57Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f25b2819
- Parents:
- ce87a8aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/sgcn.c
rce87a8aa rb4c4666 265 265 266 266 /** 267 * SGCN output operation. Prints a single character to the SGCN. If the line 268 * feed character is written ('\n'), the carriage return character ('\r') is 269 * written straight away. 267 * SGCN output operation. Prints a single character to the SGCN. Newline 268 * character is converted to CRLF. 270 269 */ 271 270 static void sgcn_putchar(outdev_t *od, const wchar_t ch, bool silent) … … 275 274 276 275 if (ascii_check(ch)) { 277 sgcn_do_putchar(ch);278 276 if (ch == '\n') 279 277 sgcn_do_putchar('\r'); 278 sgcn_do_putchar(ch); 280 279 } else 281 280 sgcn_do_putchar(invalch);
Note:
See TracChangeset
for help on using the changeset viewer.