Ignore:
Timestamp:
2009-04-03T08:02:30Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2398ee9
Parents:
9be1d58
Message:

update for string changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/drivers/dsrln/dsrlnout.c

    r9be1d58 rb60c582  
    4141#include <console/console.h>
    4242#include <sysinfo/sysinfo.h>
     43#include <string.h>
    4344
    4445static ioport8_t *dsrlnout_base;
    4546
    46 static void dsrlnout_putchar(outdev_t *dev __attribute__((unused)), const char ch, bool silent)
     47static void dsrlnout_putchar(outdev_t *dev __attribute__((unused)), const wchar_t ch, bool silent)
    4748{
    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        }
    5055}
    5156
Note: See TracChangeset for help on using the changeset viewer.