/* * Created by: Jason Wessel <jason.wessel@windriver.com> * * Copyright (c) 2010 Wind River Systems, Inc. All Rights Reserved. * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied.
*/
#include <linux/module.h> #include <linux/kdb.h>
/* * All kdb shell command call backs receive argc and argv, where * argv[0] is the command the end user typed
*/ staticint kdb_hello_cmd(int argc, constchar **argv)
{ if (argc > 1) return KDB_ARGCOUNT;
if (argc)
kdb_printf("Hello %s.\n", argv[1]); else
kdb_printf("Hello world!\n");
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.