source: rtems-schedsim/schedsim/shell/shared/main_heir.c @ abb18dc

base initial
Last change on this file since abb18dc was abb18dc, checked in by Joel Sherrill <joel.sherrill@…>, on 04/25/11 at 15:53:10

Initial import.

  • Property mode set to 100644
File size: 874 bytes
Line 
1/*
2 *  Thread Heir Shell Command Implmentation
3 *
4 *  COPYRIGHT (c) 1989-2010.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#ifdef HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <stdio.h>
19
20#include <rtems.h>
21#include "shell.h"
22#include <rtems/stringto.h>
23#include <schedsim_shell.h>
24#include <rtems/error.h>
25
26int rtems_shell_main_heir(
27  int   argc,
28  char *argv[]
29)
30{
31  PRINT_HEIR();
32  return 0;
33}
34
35rtems_shell_cmd_t rtems_shell_TASK_HEIR_Command = {
36  "heir",                 /* name */
37  "heir",                 /* usage */
38  "rtems",                /* topic */
39  rtems_shell_main_heir,  /* command */
40  NULL,                   /* alias */
41  NULL                    /* next */
42};
Note: See TracBrowser for help on using the repository browser.