Changeset 7ce3cb2 in mainline for uspace/srv/fb/serial_console.c


Ignore:
Timestamp:
2009-04-02T22:04:29Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b888d5f
Parents:
58d5a7e7
Message:

Define wchar_t in userspace. Use it in fb and console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fb/serial_console.c

    r58d5a7e7 r7ce3cb2  
    103103}
    104104
     105void serial_putchar(wchar_t ch)
     106{
     107        (*putc_function)(ch);
     108}
     109
    105110void serial_goto(const unsigned int row, const unsigned int col)
    106111{
     
    257262                        if (!attrs_same(*a0, *a1))
    258263                                serial_set_attrs(a1);
    259                         (*putc_function)(field->character);
     264                        serial_putchar(field->character);
    260265                        a0 = a1;
    261266                }
     
    277282        size_t intersize = 0;
    278283
    279         char c;
     284        wchar_t c;
    280285        int col, row, w, h;
    281286        int fgcolor;
     
    344349                        lastcol = col + 1;
    345350                        lastrow = row;
    346                         (*putc_function)(c);
     351                        serial_putchar(c);
    347352                        retval = 0;
    348353                        break;
Note: See TracChangeset for help on using the changeset viewer.