Changeset 1382446 in mainline for uspace/srv


Ignore:
Timestamp:
2020-12-14T19:09:05Z (5 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

Location:
uspace/srv/hid/output
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/output/meson.build

    r0350033 r1382446  
    2828#
    2929
    30 deps = [ 'drv' ]
     30deps = [ 'drv', 'fbfont', 'pixconv', 'ddev' ]
    3131src = files(
    3232        'ctl/serial.c',
    3333        'port/ega.c',
    3434        'port/chardev.c',
     35        'port/ddev.c',
    3536        'proto/vt100.c',
    3637        'output.c',
  • 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.