Changeset b60c582 in mainline for kernel/genarch/src/drivers/dsrln/dsrlnout.c
- Timestamp:
- 2009-04-03T08:02:30Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2398ee9
- Parents:
- 9be1d58
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/dsrln/dsrlnout.c
r9be1d58 rb60c582 41 41 #include <console/console.h> 42 42 #include <sysinfo/sysinfo.h> 43 #include <string.h> 43 44 44 45 static ioport8_t *dsrlnout_base; 45 46 46 static void dsrlnout_putchar(outdev_t *dev __attribute__((unused)), const charch, bool silent)47 static void dsrlnout_putchar(outdev_t *dev __attribute__((unused)), const wchar_t ch, bool silent) 47 48 { 48 if (!silent) 49 pio_write_8(dsrlnout_base, ch); 49 if (!silent) { 50 if (ascii_check(ch)) 51 pio_write_8(dsrlnout_base, ch); 52 else 53 pio_write_8(dsrlnout_base, invalch); 54 } 50 55 } 51 56
Note:
See TracChangeset
for help on using the changeset viewer.