Changeset 1382446 in mainline for uspace/srv/hid/output/output.c


Ignore:
Timestamp:
2020-12-14T19:09:05Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d1582b50
Parents:
0350033
Message:

Display device backend for output server

This provides console on a grahpical device, similar to the old kfb
backend. It talks to the userspace kfb driver, instead of mapping
the kfb directly. You can get graphical console by configuring
CONFIG_FB=y and CONFIG_WINSYS=n

File:
1 edited

Legend:

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

    r0350033 r1382446  
    4141#include "port/ega.h"
    4242#include "port/chardev.h"
     43#include "port/ddev.h"
    4344#include "output.h"
    4445
     
    486487        if (!config_key_exists("console")) {
    487488                ega_init();
     489#if defined(CONFIG_FB) && !defined(CONFIG_WINSYS)
     490                /*
     491                 * NOTE: We don't have a good way of detecting the absence
     492                 * of a KFB display device at run time because of the
     493                 * asunchronous nature of device discovery
     494                 */
     495                output_ddev_init();
     496#endif
    488497        }
    489498
Note: See TracChangeset for help on using the changeset viewer.