object [id [id ...] ]
When invoked with a set of object ids as arguments, then a report on those objects is printed.
This command returns 0 on success and non-zero if an error is encountered.
NONE
The following is an example of how to use object
:
SHLL [/] $ object 0a010001 1a010002 ID NAME PRIO STAT MODES EVENTS WAITID WAITARG NOTES ------------------------------------------------------------------------------ 0a010001 UI1 1 SUSP P:T:nA NONE ID NAME ATTR PRICEIL CURR_CNT HOLDID ------------------------------------------------------------------------------ 1a010002 TRmi PR:BI:IN 0 1 00000000
This command is included in the default shell command set.
When building a custom command set, define
CONFIGURE_SHELL_COMMAND_OBJECT
to have this
command included.
This command can be excluded from the shell command set by
defining CONFIGURE_SHELL_NO_COMMAND_OBJECT
when all
shell commands have been configured.
The object
is implemented by a C language function
which has the following prototype:
int rtems_shell_rtems_main_object( int argc, char **argv );
The configuration structure for the object
has the
following prototype:
extern rtems_shell_cmd_t rtems_shell_OBJECT_Command;
Copyright © 1988-2008 OAR Corporation