summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/monitor/mon-monitor.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-03-24cpukit/libmisc/monitor/: Manually change to BSD-2 licenseJoel Sherrill1-2/+30
This code did not have any copyrights or licenses and a bit of archeology was needed to determine authorship. This code was in the initial import into the RTEMS CVS repository when it was established in May 1995. There was very little, if any, code not written by OAR Corporation in that initial import. After discussion with Chris Johns, it was determined that this code was from OAR Corporation and that he had added a few features later. Both Chris Johns and OAR Corporation have given permission to relicense. Updates #3053.
2019-12-13config: Add _MPCI_ConfigurationSebastian Huber1-2/+1
Replace the user MPCI configuration table with a system provided _MPCI_Configuration. Update #3735.
2018-11-08monitor: Remove dead codeSebastian Huber1-5/+0
Update #3587. Update #3589.
2018-10-29posix: Provide threads by defaultSebastian Huber1-4/+0
Update #2514.
2015-10-26basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber1-13/+13
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2011-10-262011-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-3/+1
* libmisc/monitor/mon-monitor.c (rtems_monitor_wakeup): Remove unused var "status" (Avoid warning).
2011-09-022011-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-21/+5
* libmisc/monitor/mon-monitor.c: Removed "exit" and "quit" commands to avoid confusion. They were an alias to the "fatal" command.
2010-11-192010-11-19 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-26/+29
* libmisc/monitor/mon-monitor.c: Fixed broken monitor command list.
2010-11-162010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-19/+20
* libmisc/monitor/mon-monitor.c: Move node code into multiprocessing ifdef.
2010-04-072010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-5/+5
* libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h: Add const to fix warning. Spacing.
2010-04-052010-04-05 Thomas Znidar <t.znidar@embed-it.com>Joel Sherrill1-3/+21
* libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h: Add reset command.
2010-01-192010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+1
Coverity Id 23 * libmisc/monitor/mon-monitor.c: Add fclose() of file.
2009-01-02Add __attribute__((unused)) to unused function args.Ralf Corsepius1-13/+13
2008-12-192008-12-19 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill1-1/+25
* libblock/src/ide_part_table.c: Fixed NULL pointer access. * libmisc/monitor/mon-command.c, libmisc/monitor/mon-editor.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h, libmisc/shell/cmds.c: The list of registered monitor commands is now private and only accessible via a lookup and iterate function.
2008-12-182008-12-18 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill1-213/+62
* libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h: Fixed incompatible return value. * libmisc/cpuuse/cpuusagereport.c: Changed output format. * libmisc/Makefile.am, libmisc/monitor/mon-editor.c: New file. * libmisc/capture/capture-cli.c, libmisc/monitor/mon-command.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/shell/cat_file.c, libmisc/shell/cmds.c, libmisc/shell/internal.h, libmisc/shell/main_help.c, libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/shell/shell_cmdset.c, libmisc/shell/shell_getchar.c, libmisc/shell/str2int.c: Various global data is now read only. Added 'const' qualifier to many pointer parameters. It is no longer possible to remove monitor commands. Moved monitor line editor into a separate file to avoid unnecessary dependencies.
2008-10-022008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-2/+2
* libmisc/monitor/mon-monitor.c, rtems/include/rtems/rtems/types.h: Do not have fp context type when no hardware or software floating point is available.
2008-09-082008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* libcsupport/include/rtems/libio_.h, libcsupport/src/libio_sockets.c, libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h, libfs/src/imfs/deviceio.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/stackchk/internal.h, rtems/inline/rtems/rtems/part.inl, score/include/rtems/system.h, score/include/rtems/score/bitfield.h, score/src/mpci.c, score/src/objectextendinformation.c, score/src/threadmp.c: Remove extraneous spaces.
2008-09-01Convert to using "bool".Ralf Corsepius1-6/+6
2008-08-182008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+0
* libcsupport/include/rtems/libcsupport.h, libcsupport/src/scandir.c, libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-monitor.c, libmisc/serdbg/serdbg.c, libmisc/serdbg/serdbg.h, libnetworking/netinet/in_cksum_powerpc.h, shttpd/compat_rtems.h: Fix warnings.
2008-07-29 Remove stray arg from function call.Ralf Corsepius1-1/+1
2008-07-172008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+12
* libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c, libmisc/shell/main_tty.c, libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: Add pthread command to monitor when POSIX is enabled. Remove include of rtems/monitor.h from files not related.
2008-01-292008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c, libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c, libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c, posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am, rtems/include/rtems.h, rtems/include/rtems/rtems/support.h, rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c, rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c, rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c, rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c, rtems/src/timerserver.c, score/Makefile.am, score/include/rtems/score/object.h, score/inline/rtems/score/object.inl, score/src/Unlimited.txt, score/src/objectgetnameasstring.c, score/src/threadqextractwithproxy.c: Add new Object Services collection. This changed the name of a few previously public but undocumented services and added a some new services. * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c, rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c, rtems/src/rtemsobjectapiminimumclass.c, rtems/src/rtemsobjectgetapiclassname.c, rtems/src/rtemsobjectgetapiname.c, rtems/src/rtemsobjectgetclassicname.c, rtems/src/rtemsobjectgetclassinfo.c, rtems/src/rtemsobjectidapimaximum.c, rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c, rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c, rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c, score/src/objectapimaximumclass.c, score/src/objectgetinfo.c, score/src/objectgetinfoid.c, score/src/objectsetname.c: New files. * rtems/src/rtemsidtoname.c: Removed.
2007-09-10Corrected linked list of monitor commandsThomas Doerfler1-8/+11
2007-09-062007-09-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-3/+3
* libmisc/monitor/mon-monitor.c: Fix warnings and typo.
2007-09-05Added osmonweb support functionality to monitorThomas Doerfler1-4/+32
2007-09-042007-09-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-10/+9
* libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/monitor.h: Merge minor parts of Thomas' improvements that are needed by osmonweb.
2007-05-092007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+3
* libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not reference _Configuration_MP_table if multiprocessing is disabled.
2004-04-172004-04-17 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-6/+6
* libmisc/capture/capture-cli.c, libmisc/cpuuse/cpuuse.c, libmisc/dumpbuf/dumpbuf.c, libmisc/fsmount/fsmount.c, libmisc/monitor/mon-command.c, libmisc/monitor/mon-config.c, libmisc/monitor/mon-dname.c, libmisc/monitor/mon-driver.c, libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-queue.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/mon-task.c, libmisc/rtmonuse/rtmonuse.c, libmisc/shell/cmds.c, libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/stackchk/check.c, libmisc/untar/untar.c: Use fprintf(stdout,...) instead of printf.
2004-04-16Remove stray white spaces.Ralf Corsepius1-16/+16
2004-03-262004-03-26 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-6/+6
* libmisc/capture/capture-cli.c, libmisc/capture/capture.c, libmisc/capture/capture.h, libmisc/cpuuse/cpuuse.c, libmisc/devnull/devnull.c, libmisc/fsmount/fsmount.h, libmisc/monitor/mon-config.c, libmisc/monitor/mon-dname.c, libmisc/monitor/mon-driver.c, libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-queue.c, libmisc/monitor/mon-server.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/monitor/symbols.h, libmisc/mw-fb/mw_uid.c, libmisc/rtmonuse/rtmonuse.c, libmisc/serdbg/serdbg.h, libmisc/serdbg/serdbgio.c, libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h, libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/stackchk/check.c, libmisc/stackchk/internal.h: Convert to using c99 fixed size types.
2003-09-262003-09-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-27/+27
PR 495/rtems_misc * capture/capture-cli.c, monitor/mon-command.c, monitor/mon-config.c, monitor/mon-monitor.c, monitor/mon-object.c, monitor/mon-symbols.c, monitor/monitor.h, shell/cmds.c: Move to making libmisc 16/32 bit clean.
2003-09-222003-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-9/+1
* monitor/monitor.h: Add rtems_monitor_commands[] (Illegally applied by shell/). Remove ifdef(__mips64) (Make broken code visible again). * monitor/mon-command.c: Add several ifndef RTEMS_UNIX to avoid warnings. * monitor/mon-monitor.c: Remove RTEMS_CPU_HAS_16_BIT_ADDRESSES (Make broken code visible again). * shell/cmds.c: Remove local decls of rtems_monitor_commands[].
2003-09-192003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-0/+2
* monitor/monitor.h: Remove STREQ, STNEQ (pollute namespace), RTEMS_MONITOR_PROMPT (pollutes namespace, useless). * monitor/mon-command.c: Add RTEMS_MONITOR_PROMPT. * monitor/mon-monitor.c: Apply private version of STREQ.
2003-08-052003-08-05 Till Strauman <strauman@slac.stanford.edu>Jennifer Averett1-25/+15
PR 436/rtems_misc * monitor/mon-monitor.c: monitor registered commands list manipulation bugs
2003-07-082003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-0/+4
* capture/capture-cli.c: Add config-header support. * capture/capture.c: Add config-header support. * cpuuse/cpuuse.c: Add config-header support. * devnull/devnull.c: Add config-header support. * dummy/dummy.c: Add config-header support. * dumpbuf/dumpbuf.c: Add config-header support. * monitor/mon-command.c: Add config-header support. * monitor/mon-config.c: Add config-header support. * monitor/mon-dname.c: Add config-header support. * monitor/mon-driver.c: Add config-header support. * monitor/mon-extension.c: Add config-header support. * monitor/mon-itask.c: Add config-header support. * monitor/mon-manager.c: Add config-header support. * monitor/mon-monitor.c: Add config-header support. * monitor/mon-mpci.c: Add config-header support. * monitor/mon-object.c: Add config-header support. * monitor/mon-prmisc.c: Add config-header support. * monitor/mon-queue.c: Add config-header support. * monitor/mon-server.c: Add config-header support. * monitor/mon-symbols.c: Add config-header support. * monitor/mon-task.c: Add config-header support. * mw-fb/mw_fb.c: Add config-header support. * mw-fb/mw_uid.c: Add config-header support. * rtmonuse/rtmonuse.c: Add config-header support. * serdbg/serdbg.c: Add config-header support. * serdbg/serdbgio.c: Add config-header support. * serdbg/termios_printk.c: Add config-header support. * shell/cmds.c: Add config-header support. * stackchk/check.c: Add config-header support. * untar/untar.c: Add config-header support.
2002-07-012002-07-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-14/+14
* capture/capture-cli.c, cpuuse/cpuuse.c, monitor/mon-monitor.c, monitor/mon-object.c, monitor/monitor.h: Corrected use of _Objects_Information_table now that it is a two dimensional array based upon API and class. In addition, in the monitor, corrected an error which occured when a target has 64 bit pointers.
2002-04-042002-04-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-4/+2
* monitor/mon-monitor.c: Replace done with return (gcc3).
2000-07-26Port of RTEMS to the Texas Instruments C3x/C4x DSP families includingJoel Sherrill1-0/+4
a BSP (c4xsim) supporting the simulator included with gdb. This port was done by Joel Sherrill and Jennifer Averett of OAR Corporation. Also included with this port is a space/time optimization to eliminate FP context switch management on CPUs without hardware or software FP. An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8) on this CPU. This required addressing alignment checks and assumptions as well as fixing code that assumed sizeof(unsigned32) == 4.
2000-06-29Added RTEMS_CPU_HAS_16_BIT_ADDRESSES constant to disable codeJoel Sherrill1-0/+8
that breaks when the target has 16 bit address space. One of the H8 multilibs is a 16-bit address space CPU. When a real attempt is made to support this CPU model, the code that assumes an address is 32 bits will have to change. This constant is probably not flagging all impacted code.
2000-06-14Patch rtems-4.5-beta3-mon.diff from Chris Johns <cjohns@cybertec.com.au>Joel Sherrill1-79/+154
to: I have also added the ability to register and unregister commands. This allows me to create a set of monitor commands for the network stack plus basic memory dump/patch commands (needs a working probe interface). I will also look at a basic ls/cd/rm/mv/cp command set at some stage. I have been thinking about changing the monitor in the future to more like a light weight RTEMS shell, `eshell' for embedded shell. This is a story for another day but is a process or getting the commands to map to the filesystem (eg, major=commands, minor=command) and supporting an environment. The filesystem provide a structure for the commands.
1998-04-06Increased stack space of the monitor task.Joel Sherrill1-1/+1
1997-09-21Cleaned up as part of adding the Monitor test.Joel Sherrill1-1/+1
1996-09-18casts added to numerous arguments, prototypes corrected, andJoel Sherrill1-0/+1
proper include files added.
1996-04-22updates from Tony BennettJoel Sherrill1-24/+17
1996-01-17Update from Tony Bennett (tbennett@divnc.com)Joel Sherrill1-10/+11
1996-01-15updates from Tony Bennett for PA and UNIX portsJoel Sherrill1-14/+23
1995-08-17Numerous miscellaneous features incorporated from Tony BennettJoel Sherrill1-169/+376
(tbennett@divnc.com) including the following major additions: + variable length messages + named devices + debug monitor + association tables/variables