Changeset 132ab5d1 in mainline for uspace/srv/hid/output/output.c


Ignore:
Timestamp:
2018-01-30T03:20:45Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5a6cc679
Parents:
8bfb163 (diff), 6a5d05b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge commit '6a5d05bd2551e64111bea4f9332dd7448c26ce84' into forwardport

Separate return value from error code in gen_irq_code*().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/output/output.c

    r8bfb163 r132ab5d1  
    2727 */
    2828
     29#include <errno.h>
    2930#include <stddef.h>
    30 #include <errno.h>
    31 #include <malloc.h>
     31#include <stdlib.h>
    3232#include <macros.h>
    3333#include <as.h>
     
    3636#include <config.h>
    3737#include "port/ega.h"
    38 #include "port/kchar.h"
    39 #include "port/niagara.h"
    40 #include "port/ski.h"
    4138#include "port/chardev.h"
    4239#include "output.h"
     
    222219                dev->ops.cursor_update(dev, prev_col, prev_row, col, row,
    223220                    visible);
     221                dev->ops.flush(dev);
     222
    224223        }
    225224       
     
    345344                        }
    346345                }
    347         }
     346               
     347                dev->ops.flush(dev);
     348        }
     349       
    348350       
    349351        async_answer_0(iid, EOK);
     
    383385                        }
    384386                }
    385         }
    386        
     387                dev->ops.flush(dev);
     388
     389        }
    387390        async_answer_0(iid, EOK);
    388391}
     
    479482        if (!config_key_exists("console")) {
    480483                ega_init();
    481                 kchar_init();
    482                 niagara_init();
    483                 ski_init();
    484         } else {
    485                 chardev_init();
    486         }
     484        }
     485       
     486        chardev_init();
    487487       
    488488        printf("%s: Accepting connections\n", NAME);
Note: See TracChangeset for help on using the changeset viewer.