Files
lk/app/shell/shell.c
Travis Geiselbrecht cba9e47987 [license] replace the longer full MIT license with a shorter one
Used scripts/replacelic. Everything seems to build fine.
2019-07-05 17:22:23 -07:00

25 lines
511 B
C

/*
* Copyright (c) 2009 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <app.h>
#include <lk/debug.h>
#include <lib/console.h>
static void shell_init(const struct app_descriptor *app) {
console_init();
}
static void shell_entry(const struct app_descriptor *app, void *args) {
console_start();
}
APP_START(shell)
.init = shell_init,
.entry = shell_entry,
APP_END