linux/samples/kdb/kdb_hello.c

/*
 * Created by: Jason Wessel <[email protected]>
 *
 * 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
 */
static int kdb_hello_cmd(int argc, const char **argv)
{}

static kdbtab_t hello_cmd =;

static int __init kdb_hello_cmd_init(void)
{}

static void __exit kdb_hello_cmd_exit(void)
{}

module_init(kdb_hello_cmd_init);
module_exit(kdb_hello_cmd_exit);

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();