Subversion Repositories HelenOS-historic

Compare Revisions

Regard whitespace Rev 1695 → Rev 1707

/kernel/trunk/generic/src/console/cmd.c
26,6 → 26,10
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup genericconsole
* @{
*/
 
/**
* @file cmd.c
* @brief Kernel console command wrappers.
60,7 → 64,7
#include <proc/task.h>
#include <ipc/ipc.h>
 
/** Data and methods for 'help' command. */
/* Data and methods for 'help' command. */
static int cmd_help(cmd_arg_t *argv);
static cmd_info_t help_info = {
.name = "help",
83,7 → 87,7
.argc = 0
};
 
/** Data and methods for 'description' command. */
/* Data and methods for 'description' command. */
static int cmd_desc(cmd_arg_t *argv);
static void desc_help(void);
static char desc_buf[MAX_CMDLINE+1];
101,7 → 105,7
.argv = &desc_argv
};
 
/** Data and methods for 'symaddr' command. */
/* Data and methods for 'symaddr' command. */
static int cmd_symaddr(cmd_arg_t *argv);
static char symaddr_buf[MAX_CMDLINE+1];
static cmd_arg_t symaddr_argv = {
137,7 → 141,7
.argv = set4_argv
};
 
/** Data and methods for 'call0' command. */
/* Data and methods for 'call0' command. */
static char call0_buf[MAX_CMDLINE+1];
static char carg1_buf[MAX_CMDLINE+1];
static char carg2_buf[MAX_CMDLINE+1];
157,7 → 161,7
.argv = &call0_argv
};
 
/** Data and methods for 'call1' command. */
/* Data and methods for 'call1' command. */
static int cmd_call1(cmd_arg_t *argv);
static cmd_arg_t call1_argv[] = {
{
179,7 → 183,7
.argv = call1_argv
};
 
/** Data and methods for 'call2' command. */
/* Data and methods for 'call2' command. */
static int cmd_call2(cmd_arg_t *argv);
static cmd_arg_t call2_argv[] = {
{
206,7 → 210,7
.argv = call2_argv
};
 
/** Data and methods for 'call3' command. */
/* Data and methods for 'call3' command. */
static int cmd_call3(cmd_arg_t *argv);
static cmd_arg_t call3_argv[] = {
{
239,7 → 243,7
.argv = call3_argv
};
 
/** Data and methods for 'halt' command. */
/* Data and methods for 'halt' command. */
static int cmd_halt(cmd_arg_t *argv);
static cmd_info_t halt_info = {
.name = "halt",
248,7 → 252,7
.argc = 0
};
 
/** Data and methods for 'tlb' command. */
/* Data and methods for 'tlb' command. */
static int cmd_tlb(cmd_arg_t *argv);
cmd_info_t tlb_info = {
.name = "tlb",
292,7 → 296,7
.argc = 0
};
 
/** Data and methods for 'zones' command */
/* Data and methods for 'zones' command */
static int cmd_zones(cmd_arg_t *argv);
static cmd_info_t zones_info = {
.name = "zones",
301,7 → 305,7
.argc = 0
};
 
/** Data and methods for 'ipc_task' command */
/* Data and methods for 'ipc_task' command */
static int cmd_ipc_task(cmd_arg_t *argv);
static cmd_arg_t ipc_task_argv = {
.type = ARG_TYPE_INT,
314,7 → 318,7
.argv = &ipc_task_argv
};
 
/** Data and methods for 'zone' command */
/* Data and methods for 'zone' command */
static int cmd_zone(cmd_arg_t *argv);
static cmd_arg_t zone_argv = {
.type = ARG_TYPE_INT,
328,7 → 332,7
.argv = &zone_argv
};
 
/** Data and methods for 'cpus' command. */
/* Data and methods for 'cpus' command. */
static int cmd_cpus(cmd_arg_t *argv);
cmd_info_t cpus_info = {
.name = "cpus",
339,7 → 343,7
.argv = NULL
};
 
/** Data and methods for 'version' command. */
/* Data and methods for 'version' command. */
static int cmd_version(cmd_arg_t *argv);
cmd_info_t version_info = {
.name = "version",
799,3 → 803,7
arch_release_console();
return 1;
}
 
/** @}
*/