Changeset ce87a8aa in mainline
- Timestamp:
- 2009-04-01T15:41:51Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b4c4666
- Parents:
- e1813cf
- Location:
- kernel/arch/sparc64
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/memstr.h
re1813cf rce87a8aa 27 27 */ 28 28 29 /** @addtogroup sparc64 29 /** @addtogroup sparc64 30 30 * @{ 31 31 */ -
kernel/arch/sparc64/src/asm.S
re1813cf rce87a8aa 229 229 nop 230 230 231 .global memsetw 232 memsetw: 233 b _memsetw 234 nop 235 231 236 232 237 .macro WRITE_ALTERNATE_REGISTER reg, bit -
kernel/arch/sparc64/src/drivers/sgcn.c
re1813cf rce87a8aa 131 131 132 132 /* functions referenced from definitions of I/O operations structures */ 133 static void sgcn_putchar(outdev_t *, const char, bool);133 static void sgcn_putchar(outdev_t *, const wchar_t, bool); 134 134 135 135 /** SGCN output device operations */ … … 269 269 * written straight away. 270 270 */ 271 static void sgcn_putchar(outdev_t *od, const char c, bool silent)271 static void sgcn_putchar(outdev_t *od, const wchar_t ch, bool silent) 272 272 { 273 273 if (!silent) { 274 274 spinlock_lock(&sgcn_output_lock); 275 275 276 sgcn_do_putchar(c); 277 if (c == '\n') 278 sgcn_do_putchar('\r'); 276 if (ascii_check(ch)) { 277 sgcn_do_putchar(ch); 278 if (ch == '\n') 279 sgcn_do_putchar('\r'); 280 } else 281 sgcn_do_putchar(invalch); 279 282 280 283 spinlock_unlock(&sgcn_output_lock);
Note:
See TracChangeset
for help on using the changeset viewer.