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: * There are three classes of fixes required:
* *
* - Some of these interfaces are inherently internal to the OS (such as * - Some of these interfaces are inherently internal to the OS (such as
* sched_foreach and foreach_mountpoint) and should never be made * register_ramdisk()) and should never be made available to user
* available to user applications as OS interfaces. For these, the long * applications as OS interfaces.
* range solution to restoring the functionality will be to support procfs
* entries the provide the necessary interfaces.
* - Other interfaces are more standard and for these there probably should * - Other interfaces are more standard and for these there probably should
* be new system calls to support the OS interface. Such interfaces * 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 * - 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 * library where they will become accessible to application code.
* interfaces include mkfatfs.
*/ */
#if defined(CONFIG_BUILD_PROTECTED) || defined(CONFIG_BUILD_KERNEL) #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 */ # undef CONFIG_NSH_DISABLE_MKRD /* 'mkrd' depends on ramdisk_register */
# define CONFIG_NSH_DISABLE_MKRD 1 # define CONFIG_NSH_DISABLE_MKRD 1
#endif #endif