Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/drivers/ski.c

    r3a5506a r3193c05  
    5757};
    5858
    59 static void ski_putchar(outdev_t *, const wchar_t);
     59static void ski_putchar(outdev_t *, const wchar_t, bool);
    6060
    6161static outdev_operations_t skidev_ops = {
     
    9999static void poll_keyboard(ski_instance_t *instance)
    100100{
     101        if (silent)
     102                return;
     103       
    101104        int count = POLL_LIMIT;
    102105       
     
    118121       
    119122        while (true) {
    120                 // TODO FIXME:
    121                 // This currently breaks the kernel console
    122                 // before we get the override from uspace.
    123                 if (console_override)
     123                if (!silent)
    124124                        poll_keyboard(instance);
    125125               
     
    182182 * @param dev    Character device.
    183183 * @param ch     Character to be printed.
    184  *
    185  */
    186 static void ski_putchar(outdev_t *dev, const wchar_t ch)
    187 {
    188         // TODO FIXME:
    189         // This currently breaks the kernel console
    190         // before we get the override from uspace.
    191         if (console_override) {
     184 * @param silent Whether the output should be silenced.
     185 *
     186 */
     187static void ski_putchar(outdev_t *dev, const wchar_t ch, bool silent)
     188{
     189        if (!silent) {
    192190                if (ascii_check(ch)) {
    193191                        if (ch == '\n')
     
    215213        if (!fb_exported) {
    216214                /*
    217                  * This is the necessary evil until
    218                  * the userspace driver is entirely
     215                 * This is the necessary evil until the userspace driver is entirely
    219216                 * self-sufficient.
    220217                 */
    221                 sysinfo_set_item_val("fb", NULL, true);
    222218                sysinfo_set_item_val("fb.kind", NULL, 6);
    223219               
Note: See TracChangeset for help on using the changeset viewer.