Changeset 1382446 in mainline for uspace/app/init/init.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/app/init/init.c

    r0350033 r1382446  
    272272}
    273273
     274#ifdef CONFIG_WINSYS
     275
    274276static errno_t display_server(void)
    275277{
     
    302304        return retval;
    303305}
     306
     307#endif
    304308
    305309static void getterm(const char *svc, const char *app, bool msg)
     
    468472        init_sysvol();
    469473
     474#ifdef CONFIG_WINSYS
    470475        if (!config_key_exists("console")) {
    471476                rc = display_server();
     
    476481                }
    477482        }
    478 
     483#endif
    479484        rc = console(HID_INPUT, HID_OUTPUT);
    480485        if (rc == EOK) {
Note: See TracChangeset for help on using the changeset viewer.