Commit Graph

758 Commits

Author SHA1 Message Date
Gregory Nutt
ecba6ad0db fs_procfsproc.c edited online with Bitbucket. Fix problem introduced in last patch 2016-04-28 08:04:38 +00:00
David Sidrane
6a6a089af4 Fix a warning 2016-04-27 00:19:00 -06:00
Gregory Nutt
3f731241cb fs/inode/, fs/vfs/, and sched/task/: File and socket descriptors are no longer allocated for kernel threads. They must use SYSLOG for output and the low-level psock interfaces for network I/O. This saves a little memory which might be important for small footprint configurations. 2016-04-14 10:14:38 -06:00
Gregory Nutt
9008308b64 Remove some block comments before empty code sections 2016-04-11 18:16:04 -06:00
Gregory Nutt
3fba968bb0 Fix an error when a task with open message queue descriptors is killed via task_delete(). Noted by Anton Gropyanov. 2016-04-11 11:14:18 -06:00
Gregory Nutt
ccbf514233 Add task state to information recorded when a task is suspended 2016-03-21 15:24:15 -06:00
Gregory Nutt
b6f5ffa9a8 CDC/AC: too man right parentheses if IFLOW_CONTROL enabled 2016-02-24 11:54:02 -06:00
Gregory Nutt
0682671ffe Update Kconfig help comments 2016-02-23 06:38:51 -06:00
Gregory Nutt
c620b321b1 FAT: Add a new configuration option to decouple the logic that retries the direct transfer from the logic that enables DMA memory allocators. 2016-02-22 18:25:58 -06:00
Gregory Nutt
7c44444883 FAT: Add an option to force all transfers to be performed indirectly through the FAT file system's internal sector buffers 2016-02-22 16:26:04 -06:00
Gregory Nutt
0fb035f76b Standardize some naming in code section comments 2016-02-21 18:09:04 -06:00
Gregory Nutt
050b3ee06a profcs task status will now show CPU is SMP is enabled 2016-02-19 15:34:36 -06:00
Gregory Nutt
884d9355c6 nuttx/fs: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-14 08:43:47 -06:00
Gregory Nutt
12f95c6f6b Add procfs/kmm to show the state of the kernel heap 2016-02-06 11:35:30 -06:00
Gregory Nutt
4a59ff34e9 Update submodules 2016-01-28 09:53:47 -06:00
Gregory Nutt
7d6c2d150d fs/vfs/fs_poll.c: Fix handling of sem_tickwait() return value sem_tickwait() does not return an -1+errno, it returns a negated errno value. Noted by Freddie Chopin. 2016-01-27 13:42:39 -06:00
Gregory Nutt
de995653fe Fix a typo from the last big set of changes 2016-01-21 12:26:53 -06:00
Gregory Nutt
f348e68069 Update to use 64-bit timer when available 2016-01-21 11:54:26 -06:00
Gregory Nutt
849df03d22 Update dates on files modified for SIGEV_THREAD support 2015-12-30 13:28:39 -06:00
Gregory Nutt
9835eeb181 signals: Basic framework to support SIGEV_THREAD 2015-12-30 13:20:31 -06:00
Gregory Nutt
658272bbbf FAT: Fix some duplicate definition warnings when big-endian is enabled 2015-12-26 14:49:40 -06:00
Gregory Nutt
795ddd7e80 OS modules: Add basic procfs support. A module registry that will eventually be used to support lsmod 2015-12-12 17:42:25 -06:00
Gregory Nutt
7be7579f59 Back out 522f95abe87d71c7025f2f358a8f350134e284b2: What was I thinking? 2015-12-02 10:47:32 -06:00
Gregory Nutt
08213f830d poll() and select() should not be built if poll() is disabled 2015-12-02 05:30:52 -06:00
Gregory Nutt
acd3b47def Fix problem in last change to the procfs: Forgot to save the reallocated table pointer!
Also added warnings:  There are some concurrency issues in the current implementation if you try to modify the procfs data structures will the procfs is mounted and possibly busy.
2015-12-02 05:20:02 -06:00
Gregory Nutt
db6eeed3a6 procfs: Using wrong reallocator 2015-12-01 17:06:40 -06:00
Gregory Nutt
7483ed38ce Fix some procfs registration typos 2015-12-01 16:31:40 -06:00
Gregory Nutt
ad64c033e7 s/procfs: The procfs file system can now be configured so that it supports a runtime registration of procfs entries with CONFIG_FS_PROCFS_REGISTER=y 2015-12-01 14:56:20 -06:00
Gregory Nutt
1c8216a6ce Add group ID or parent PID to procfs output (if available) 2015-11-30 06:58:06 -06:00
Gregory Nutt
11afff74dc Kconfig change for improved usability 2015-11-29 12:13:24 -06:00
Gregory Nutt
2e7d139cd3 fs/procfs: Process status now includes task flags. Some strings modified to improved 'ps' command output 2015-11-28 14:58:56 -06:00
Gregory Nutt
1f8f097783 procfs: Use dirent.h macros when testing directory entry type 2015-11-28 08:52:21 -06:00
Gregory Nutt
eb8668b0f7 net/: Add procfs support for network device status 2015-11-27 16:39:14 -06:00
Gregory Nutt
e4236941c6 net/net_procfs.c: Add basic support for networking procfs entries 2015-11-27 12:33:58 -06:00
Gregory Nutt
9d1404e06d Fix an error introduced in last commit 2015-11-25 14:38:10 -06:00
Gregory Nutt
070d95d161 Trivial change 2015-11-25 09:11:03 -06:00
Gregory Nutt
8f5047323f Update ChangeLog and submodules 2015-11-25 08:38:58 -06:00
Ken Pettit
c0b9dcf8a9 fs/hostfs: Add a special file system for use with simulator that supports access to the host file system from the simulation. From Ken Petit 2015-11-25 08:26:26 -06:00
Ken Pettit
375419eaf2 mksmartfs: Remove fs/smartfs/fs_mksmartfs.c and related headers. This has been moved to apps/fsutils/mksmartfs. From Ken Petit 2015-11-23 07:05:09 -06:00
Gregory Nutt
54549ef082 Revert "Add option to specify logical sector size during low level format plus adds some run-time geometry tests. fs/smartfs: Remove the 'mksmartfs()' code from the kernel 'fs'"
This reverts commit 96faf0fa3251ca10a17daddc728d931be5a206e0.
2015-11-22 10:15:06 -06:00
Gregory Nutt
64e8f12e2b Add option to specify logical sector size during low level format plus adds some run-time geometry tests. fs/smartfs: Remove the 'mksmartfs()' code from the kernel 'fs'
directory and build.
2015-11-22 10:07:35 -06:00
Gregory Nutt
006528b144 Add support for freopen() 2015-11-22 08:39:17 -06:00
Gregory Nutt
84a5f846c9 open() has been extended. You can now open block drivers and access them just as you can character drivers. For example, you can hexdump a block device. 2015-11-21 11:24:55 -06:00
Gregory Nutt
dcb85af387 Add logic to automatically wrap a block device as a BCH device with no visible character device 2015-11-21 10:14:01 -06:00
Gregory Nutt
968de101f0 Eliminate a warning 2015-11-21 10:12:21 -06:00
Gregory Nutt
bfeef77f1f SmartFS: Fix a compile error when FS debug enabled. Plus some changes needed by NuttX coding standard 2015-11-05 11:25:39 -06:00
Gregory Nutt
a5f44cd9fc Buttons lower half: Undefine __KERNEL__ before including board.h to suppress bad included; fix some configuratin issues 2015-10-13 09:29:23 -06:00
Gregory Nutt
c70987e551 nuttx/fs: Fix some spacing and alignment issues 2015-10-11 11:39:29 -06:00
Gregory Nutt
185b941c27 TMPFS: In open write/append mode, need to set the file position to the end of the file 2015-10-11 10:29:35 -06:00
Gregory Nutt
2c385b81f8 TMPFS: Yet another memory leak 2015-10-10 18:39:43 -06:00