mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
fs/procfs/fs_procfsprogrem: Add /proc/progmem. This is an alternative way to get the information that was previoulsy available in apps/system/free. apps/system/free was removed beause it made illegal calls into the OS violating the portable interface. This new procfs entry provides the same information with no such violation.
This commit is contained in:
@@ -45,6 +45,8 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef CONFIG_ARCH_HAVE_PROGMEM
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
@@ -207,4 +209,5 @@ ssize_t up_progmem_write(size_t addr, FAR const void *buf, size_t count);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_ARCH_HAVE_PROGMEM */
|
||||
#endif /* __INCLUDE_NUTTX_PROGMEM_H */
|
||||
|
||||
Reference in New Issue
Block a user