Gregory Nutt
8f5944c4a8
Squashed commit of the following:
...
include/ and netutils/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
nshlib/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
system/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
testing/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
examples/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
2019-04-29 14:53:38 -06:00
GregoryN
3bf4b6d245
Merged altconsole into master
2018-12-08 18:53:54 -06:00
Tomasz Wozniak
71b45ed2c2
built-in libc defect workaround: replace '%6.6u' format with an equivalent '%06u'
2017-03-21 09:39:51 +01:00
Alan Carvalho de Assis
d506939b59
NSHLIB ps command: Eliminate 'defined but not used' warning in some configurations
2017-03-07 15:10:17 -06:00
Gregory Nutt
b1230ce87a
NSH: Eliminate a warning about discarding const
2016-07-15 08:31:47 -06:00
David Alessio
f48b3c73b0
When Priority Inheritance is enabled, the format of /proc/<PID>/status changes to show both the current priority and the thread’s base priority. This messes up the format of cmd_ps.
...
The attached patch fixes cmd_ps to ignore the base priority.
2016-07-15 07:01:02 -06:00
Gregory Nutt
dd7c4c9493
NSH library: Don't show stack usage is CONFIG_STACK_COLORATION is not enabled.
2016-07-13 07:06:32 -06:00
David Alessio
1d8ef23b88
Use fixed point math for cmd_ps removing dependency on floating point libs.
2016-07-12 06:48:30 -06:00
David Alessio
63ff107419
Fix a typo a a preceding change.
2016-07-11 06:56:34 -06:00
David Alessio
f553fd1316
Recent enhancements to cmd_ps trips a floating point exception if LIBC_FLOATINGPOINT is not defined (at least on Cortex M4 w/ hardfloat). I’m using a buildroot gcc configured to support Cortex-M4F and the hard float ABI, target files are compiles with: -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard. I’m not sure the best way to address this, but the attached patch file is the first that comes to mind. Note, I added the float qualifier ‘F’ after a few constants to prevent the compiler from promoting the multiplication and division to double (expensive on M4F) then demoting to single float for the store. (sorry, it’s one of my many pet peeves ;)
...
`
2016-07-10 17:49:58 -06:00
David Sidrane
6eab2b7811
Take 2
2016-07-01 09:45:00 -10:00
Gregory Nutt
97e41cdcc5
Add a missing blank line
2016-07-01 13:27:15 -06:00
Gregory Nutt
57a0f88728
Revert "Review of last PR"
...
This reverts commit 0e4c247e1d
.
2016-07-01 13:26:34 -06:00
Gregory Nutt
0e4c247e1d
Review of last PR
2016-07-01 13:22:36 -06:00
David Sidrane
cbe1d33786
Allow stack usage to be disabled on contrained systems
2016-07-01 08:59:46 -10:00
Frank Benkert
65e050dbfb
NSH: PS-Command: print out the stack usage if stack coloration is enabled.
2016-06-30 07:28:42 -06:00
Gregory Nutt
c6ac4d2581
NSH: ps command will show CPU if SMP is enabled
2016-02-19 15:33:32 -06:00
Gregory Nutt
a5fbb4cd24
Revert "NSHL: Format strings for nsh_output should all have IOBJ qualifier"
...
This reverts commit 186a101d2c
.
2016-01-17 07:39:33 -06:00
Gregory Nutt
186a101d2c
NSHL: Format strings for nsh_output should all have IOBJ qualifier
2016-01-06 08:31:56 -06:00
Gregory Nutt
eb1360d56e
NSH: Add group ID or parent PID to ps command output (if available)
2015-11-30 08:05:34 -06:00
Gregory Nutt
7e7dd916ce
apps/nshlib: The 'ps' command now uses /proc/(pid)/ to obtain task status information. A consequence of this is that you cannot use the 'ps' command if the procfs is not enabled and mounted at /proc.
2015-11-28 15:03:21 -06:00
Gregory Nutt
92b1eb36c8
nshlib: Move trim_dir() and foreach_direntry() from nsh_fscmds.c to nsh_fsutils.c as nsh_trimdir() and nsh_foreach_direntry(), respectively
2015-11-28 08:29:27 -06:00
Gregory Nutt
510f325ae4
nshlib: Use CONFIG_NSH_PROC_MOUNTPOINT instead of literal /proc; Move readfile() from nsh_proccmds.c to nsh_fsutils.c as nsh_readfile()
2015-11-28 07:23:08 -06:00
Gregory Nutt
0c85a9f4b3
Eliminates a warning about unused variable
2015-07-29 19:57:31 -06:00
Gregory Nutt
3a57f9e2ef
Adjust for increased size of the scheduling policy field from 1 to 2 bits to allow additional, planned scheduling policies
2015-07-23 10:15:57 -06:00
Gregory Nutt
3b60c71103
NSH: Fix error in conditional compilation in PS command. From Macs N
2015-02-03 07:21:56 -06:00
Gregory Nutt
fa035373e4
Correct spelling: MOUNTPOINT not MOUNTPOUNT. Numerous places. Some are problems. From Woohan Lee
2014-12-01 06:41:30 -06:00
Gregory Nutt
da8ba5dfd5
Remove use of CONFIG_MASK_TASK_ARGS from NSH
2014-11-13 06:27:29 -06:00
Gregory Nutt
00545910f0
Fix NSH PS command: If there are not argument, it would print garbage for argument list
2014-09-01 16:47:20 -06:00
Gregory Nutt
b4bc994f50
Cosmetic changed, updated README files, improved comments
2014-08-10 13:11:31 -06:00
Gregory Nutt
b9cf7acb1a
More trailing whilespace removal
2014-04-13 16:24:28 -06:00
Gregory Nutt
26a5862153
cosmetic changes to README files and comments
2014-02-27 13:41:30 -06:00
Gregory Nutt
277ecb79c7
Should CPU load on each thread in the PS command
2014-02-27 11:11:24 -06:00
patacongo
b956e3109e
LPC17xx now supports FPU needed by LPC1788; LPC17xx can not use Mike's common vectors
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5623 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 00:17:54 +00:00
patacongo
a6e6cb3daa
Rename _TCB to struct tcb_s
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5610 42af7a65-404d-4744-a932-0658087f49c3
2013-02-04 18:46:28 +00:00
patacongo
f392209c72
NSH now uses the new Telnet daemon and built-in tasks started by NSH can be used over Telnet
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4361 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 16:04:09 +00:00
patacongo
3932092be0
Elminate some warnings on tiny systems
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3719 42af7a65-404d-4744-a932-0658087f49c3
2011-06-17 18:20:14 +00:00
patacongo
9123441ebe
Fix AVR build, Add hooks for kernel threads
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3477 42af7a65-404d-4744-a932-0658087f49c3
2011-04-07 01:54:59 +00:00
patacongo
02d07fcafc
Progress toward kernel build
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3465 42af7a65-404d-4744-a932-0658087f49c3
2011-04-05 01:46:55 +00:00
patacongo
a05c1d4bc2
Update documentation, change CONFIG_EXAMPLES_NSH to CONFIG_NSH
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3394 42af7a65-404d-4744-a932-0658087f49c3
2011-03-18 20:35:31 +00:00
patacongo
4923fdabc1
Move NSH to apps/ as library
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3393 42af7a65-404d-4744-a932-0658087f49c3
2011-03-18 19:46:25 +00:00