Changeset 73d8600 in mainline for uspace/srv/hid/output/output.c


Ignore:
Timestamp:
2016-12-27T13:29:31Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bfa4ffa
Parents:
fd384d6
Message:

Make serial console mutually exclusive with other user input/output methods

This limitation can be lifted once we figure out how to properly run them
side by side.

File:
1 edited

Legend:

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

    rfd384d6 r73d8600  
    3434#include <task.h>
    3535#include <ipc/output.h>
     36#include <config.h>
    3637#include "port/ega.h"
    3738#include "port/kchar.h"
     
    476477        }
    477478       
    478         ega_init();
    479         kchar_init();
    480         niagara_init();
    481         ski_init();
    482         chardev_init();
     479        if (!config_key_exists("console")) {
     480                ega_init();
     481                kchar_init();
     482                niagara_init();
     483                ski_init();
     484        } else {
     485                chardev_init();
     486        }
    483487       
    484488        printf("%s: Accepting connections\n", NAME);
Note: See TracChangeset for help on using the changeset viewer.