| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* libfs/src/dosfs/fat_file.c, libmisc/monitor/monitor.h,
score/cpu/m68k/rtems/score/cpu.h: Remove stray spaces from unsigned32
to uint32_t conversion.
|
| |
|
|
|
|
|
| |
* libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h: Add const
to fix warning. Spacing.
|
|
|
|
|
| |
* libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h: Add reset
command.
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
| |
* libmisc/monitor/monitor.h, rtems/include/rtems/rtems/tasks.h,
score/include/rtems/score/thread.h, score/src/threadreset.c,
score/src/threadrestart.c, score/src/threadstart.c: New type
Thread_Entry_numeric_type for numeric arguments in thread entry
functions with at least one numeric argument.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rtems/include/rtems/rtems/sem.h, rtems/src/semobtain.c:
Changed option set type to rtems_option.
* score/src/objectgetinfo.c: Check return value of
_Objects_API_maximum_class().
* libmisc/monitor/mon-mpci.c, libmisc/monitor/monitor.h,
rtems/include/rtems/rtems/message.h, rtems/src/msgmp.c,
rtems/src/msgqallocate.c, rtems/src/msgqbroadcast.c,
rtems/src/msgqcreate.c, rtems/src/msgqreceive.c, rtems/src/msgqsend.c,
rtems/src/msgqurgent.c, score/include/rtems/score/coremsg.h,
score/include/rtems/score/mpci.h, score/include/rtems/score/thread.h,
score/inline/rtems/score/coremsg.inl, score/src/coremsg.c,
score/src/coremsgbroadcast.c, score/src/coremsgseize.c,
score/src/coremsgsubmit.c:
Removed parameters of _Message_queue_Allocate(). Changed option set
type to rtems_option. Changed type of maximum message and packet size
to size_t. Changed the input buffer type for message send functions to
"const void *". Changed the pointer to the second return argument in
the thread wait information to a union. This union can contain a
pointer to an immutable or a mutable object. This is somewhat fragile.
An alternative would be to add a third pointer for immutable objects,
but this would increase the structure size.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c,
libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c,
libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of
internal routine. This makes it possible to also print string names
of POSIX objects. Adjust task report to realign since we can have
longer names.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* libmisc/monitor/monitor.h: Add network commands that were in the
network supplement but not in the code.
* libmisc/monitor/mon-network.c: New file.
|
| |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libmisc/Makefile.am, libmisc/monitor/mon-object.c,
libmisc/monitor/monitor.h, sapi/include/confdefs.h,
sapi/include/rtems/config.h, sapi/include/rtems/io.h,
sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
configuration parameter since it was used to configure a no longer
used feature. Device names are now part of the filesystem not in a
table. This also eliminated the variables _IO_Number_of_devices and
_IO_Driver_name_table from RTEMS as well as the memory allocation
used to populate _IO_Driver_name_table.
* libmisc/monitor/mon-dname.c: Removed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Large patch to improve Doxygen output. As a side-effect, grammar and
spelling errors were corrected, spacing errors were address, and some
variable names were improved.
* libmisc/monitor/mon-object.c, libmisc/monitor/monitor.h:
Account for changing OBJECTS_NO_CLASS to OBJECTS_CLASSIC_NO_CLASS.
* score/Doxyfile: Set output directory. Predefine some macro values.
Turn on graphical output.
* score/include/rtems/debug.h, score/include/rtems/seterr.h,
score/include/rtems/system.h, score/include/rtems/score/address.h,
score/include/rtems/score/apiext.h,
score/include/rtems/score/apimutex.h,
score/include/rtems/score/bitfield.h,
score/include/rtems/score/chain.h,
score/include/rtems/score/context.h,
score/include/rtems/score/coremsg.h,
score/include/rtems/score/coremutex.h,
score/include/rtems/score/coresem.h,
score/include/rtems/score/heap.h, score/include/rtems/score/interr.h,
score/include/rtems/score/isr.h, score/include/rtems/score/mpci.h,
score/include/rtems/score/mppkt.h,
score/include/rtems/score/object.h,
score/include/rtems/score/objectmp.h,
score/include/rtems/score/priority.h,
score/include/rtems/score/stack.h,
score/include/rtems/score/states.h,
score/include/rtems/score/sysstate.h,
score/include/rtems/score/thread.h,
score/include/rtems/score/threadmp.h,
score/include/rtems/score/threadq.h, score/include/rtems/score/tod.h,
score/include/rtems/score/tqdata.h,
score/include/rtems/score/userext.h,
score/include/rtems/score/watchdog.h,
score/include/rtems/score/wkspace.h,
score/inline/rtems/score/address.inl,
score/inline/rtems/score/chain.inl,
score/inline/rtems/score/coremutex.inl,
score/inline/rtems/score/coresem.inl,
score/inline/rtems/score/heap.inl,
score/inline/rtems/score/object.inl,
score/inline/rtems/score/stack.inl,
score/inline/rtems/score/thread.inl,
score/inline/rtems/score/tqdata.inl, score/macros/README,
score/src/heap.c, score/src/threadmp.c, score/src/threadready.c,
score/src/threadstartmultitasking.c: Improve generated Doxygen
output. Fix spelling and grammar errors in comments. Correct names of
some variables and propagate changes.
|
|
|
|
|
|
|
| |
* libmisc/capture/capture-cli.h, libmisc/capture/capture.h,
libmisc/monitor/monitor.h, libmisc/rtmonuse/rtmonuse.h,
libmisc/shell/shell.h: Partial doxygenification.
* libmisc/capture/capture.h: Use INT32_C for constants.
|
|
|
|
|
|
| |
* monitor/monitor.h: Let rtems_monitor_config_dump return int.
* monitor/mon-config.c: Ditto. Use PRI*N macros.
* monitor/mon-itask.c, monitor/mon-prmisc.c: Use PRI*N macros.
|
|
|
|
|
| |
* monitor/mon-prmisc.c, monitor/monitor.h: Let rtems_monitor_dump
return int's not uint32_t (They are printf return values).
|
|
|
|
|
| |
* libmisc/monitor/mon-prmisc.c, libmisc/monitor/monitor.h:
rtems_monitor_dump_char(char ch).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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[].
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* monitor/symbols.h: Convert to private header.
* monitor/monitor.h: Don't include symbols.h.
Add forward decls. for symbols from symbols.h.
* monitor/Makefile.am: Don't install symbols.h.
* monitor/mon-symbols.c: Include "symbols.h".
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
it work.
|
| |
|
| |
|
|
|
|
| |
proper include files added.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
(tbennett@divnc.com) including the following major additions:
+ variable length messages
+ named devices
+ debug monitor
+ association tables/variables
|
|
|