Files
lk/app/shell/shell.c
Travis Geiselbrecht ca800ac932 [console] move the history buffer into static memory, remove console_init
No need to malloc this memory if it's always going to be initialized
anyway. Add history disabling switch to a few targets to make sure both
builds are tested.
2020-05-17 16:13:45 -07:00

20 lines
409 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_entry(const struct app_descriptor *app, void *args) {
console_start();
}
APP_START(shell)
.entry = shell_entry,
APP_END