Update some comments

This commit is contained in:
Gregory Nutt 2017-10-26 13:31:57 -06:00
parent 3788928cbf
commit 1f1d114901

View File

@ -604,23 +604,16 @@
* There are three classes of fixes required:
*
* - Some of these interfaces are inherently internal to the OS (such as
* sched_foreach and foreach_mountpoint) and should never be made
* available to user applications as OS interfaces. For these, the long
* range solution to restoring the functionality will be to support procfs
* entries the provide the necessary interfaces.
* register_ramdisk()) and should never be made available to user
* applications as OS interfaces.
* - Other interfaces are more standard and for these there probably should
* be new system calls to support the OS interface. Such interfaces
* include things like ps, mkfatfs, and mkrd.
* include things like mkrd.
* - Other interfaces simply need to be moved out of the OS and into the C
* library where they will become accessible to application code. Such
* interfaces include mkfatfs.
* library where they will become accessible to application code.
*/
#if defined(CONFIG_BUILD_PROTECTED) || defined(CONFIG_BUILD_KERNEL)
# undef CONFIG_NSH_DISABLE_DF /* 'df' depends on foreach_mountpoint */
# define CONFIG_NSH_DISABLE_DF 1
# undef CONFIG_NSH_DISABLE_MKFATFS /* 'mkfatfs' depends on mkfatfs interface */
# define CONFIG_NSH_DISABLE_MKFATFS 1
# undef CONFIG_NSH_DISABLE_MKRD /* 'mkrd' depends on ramdisk_register */
# define CONFIG_NSH_DISABLE_MKRD 1
#endif