Changeset ab92305 in mainline for uspace/app/init/init.c


Ignore:
Timestamp:
2013-08-19T17:23:31Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4da8fdb
Parents:
2921602 (diff), 4a9728ec (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 audio support.

Includes audio server and sb16 driver.

Tested on ia32 and amd64 (qemu).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/init/init.c

    r2921602 rab92305  
    392392                rc = console(HID_INPUT, HID_OUTPUT);
    393393                if (rc == EOK) {
    394                         getterm("term/vc0", "/app/bdsh", true);
    395                         getterm("term/vc1", "/app/bdsh", false);
    396                         getterm("term/vc2", "/app/bdsh", false);
    397                         getterm("term/vc3", "/app/bdsh", false);
    398                         getterm("term/vc4", "/app/bdsh", false);
    399                         getterm("term/vc5", "/app/bdsh", false);
     394#ifndef CONFIG_VC_COUNT
     395#define CONFIG_VC_COUNT 6
     396#endif
     397                        switch((unsigned)CONFIG_VC_COUNT) {
     398                        default:
     399                        case 6: getterm("term/vc5", "/app/bdsh", false);
     400                        case 5: getterm("term/vc4", "/app/bdsh", false);
     401                        case 4: getterm("term/vc3", "/app/bdsh", false);
     402                        case 3: getterm("term/vc2", "/app/bdsh", false);
     403                        case 2: getterm("term/vc1", "/app/bdsh", false);
     404                        case 1: getterm("term/vc0", "/app/bdsh", true);
     405                        }
     406#ifdef CONFIG_KERNEL_LOG_VC_6
    400407                        getterm("term/vc6", "/app/klog", false);
     408#endif
    401409                }
    402410        }
     411        srv_start("/srv/hound");
    403412       
    404413        return 0;
Note: See TracChangeset for help on using the changeset viewer.